This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
config BR2_PACKAGE_PHP_GEOIP
bool "php-geoip"
depends on BR2_PACKAGE_PHP
select BR2_PACKAGE_GEOIP
help
PHP GeoIP-based IP address mapper to geographical places.
http://pecl.php.net/package/geoip

View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 b2d05c03019d46135c249b5a7fa0dbd43ca5ee98aea8ed807bc7aa90ac8c0f06 geoip-1.1.1.tgz

View File

@@ -0,0 +1,26 @@
################################################################################
#
# php-geoip
#
################################################################################
PHP_GEOIP_VERSION = 1.1.1
PHP_GEOIP_SOURCE = geoip-$(PHP_GEOIP_VERSION).tgz
PHP_GEOIP_SITE = https://pecl.php.net/get
PHP_GEOIP_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
--with-geoip=$(STAGING_DIR)/usr
# phpize does the autoconf magic
PHP_GEOIP_DEPENDENCIES = geoip php host-autoconf
PHP_GEOIP_LICENSE = PHP-3.01
PHP_GEOIP_LICENSE_FILES = geoip.c
define PHP_GEOIP_PHPIZE
(cd $(@D); \
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
$(STAGING_DIR)/usr/bin/phpize)
endef
PHP_GEOIP_PRE_CONFIGURE_HOOKS += PHP_GEOIP_PHPIZE
$(eval $(autotools-package))