diff options
Diffstat (limited to 'package/php-geoip')
-rw-r--r-- | package/php-geoip/php-geoip.hash | 2 | ||||
-rw-r--r-- | package/php-geoip/php-geoip.mk | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/package/php-geoip/php-geoip.hash b/package/php-geoip/php-geoip.hash index 275a098bd..61945cfd5 100644 --- a/package/php-geoip/php-geoip.hash +++ b/package/php-geoip/php-geoip.hash @@ -1,2 +1,2 @@ # Locally calculated -sha256 82c6deb7264d2ff7c4d6c45a7d27cff7ab097be965795e317e04a9c5b7be98b9 geoip-1.1.0.tgz +sha256 8b5e8dec6353c437809e58d798627927ae659682b5bbdad023e9e569c278bfed php-geoip-1fd53288458100e9e30acf5a62bc9ef8426513d3.tar.gz diff --git a/package/php-geoip/php-geoip.mk b/package/php-geoip/php-geoip.mk index 0826c197f..93dcf018b 100644 --- a/package/php-geoip/php-geoip.mk +++ b/package/php-geoip/php-geoip.mk @@ -4,10 +4,8 @@ # ################################################################################ -PHP_GEOIP_VERSION = 1.1.0 -PHP_GEOIP_SOURCE = geoip-$(PHP_GEOIP_VERSION).tgz -# pecl.php.net returns html with db connect failed -PHP_GEOIP_SITE = http://sources.buildroot.net +PHP_GEOIP_VERSION = 1fd53288458100e9e30acf5a62bc9ef8426513d3 +PHP_GEOIP_SITE = $(call github,php7-extensions,ext-php7-geoip,$(PHP_GEOIP_VERSION)) PHP_GEOIP_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ --with-geoip=$(STAGING_DIR)/usr # phpize does the autoconf magic |