2017-04-16 20:04:11 +02:00
|
|
|
# Template file for 'geoip-data'
|
|
|
|
pkgname=geoip-data
|
2017-06-26 12:57:03 +02:00
|
|
|
version=20170626
|
|
|
|
revision=1
|
2017-04-16 20:04:11 +02:00
|
|
|
create_wrksrc=yes
|
|
|
|
short_desc="Non-DNS IP-to-country resolver C library and utilities (data files)"
|
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
|
|
license="CC BY-SA 4.0"
|
|
|
|
homepage="https://dev.maxmind.com/geoip/legacy/geolite/"
|
|
|
|
distfiles="
|
|
|
|
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
|
|
|
|
http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
|
|
|
|
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
|
|
|
|
http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz
|
|
|
|
http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
|
|
|
|
http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNumv6.dat.gz"
|
2017-06-26 12:57:03 +02:00
|
|
|
checksum="cb7dd6ce84383835d226a4c0cd21cc79810b289ca2a6cc5a6189c4c9873cc7b1
|
|
|
|
7401b50de3eec11651b764205041dd53519520f4182f581b6f16b422c8372a42
|
|
|
|
730ec7c38dd1b6bc7f833928969bf5d060267536b599ecdc34e0d6e5d83c3de9
|
|
|
|
8f16f4f6029cbbe1ad8a5915c6384e5e6bf2fd84c7c5bca6750929cebfaa9e50
|
|
|
|
026ad46f0bd98834654fd970d314be78d505ce64b9a9730bd4a84592d9fb1b85
|
|
|
|
8ec5e74de200637f03d7e09c3c8173ee30ecc1ea46be057a02409896a4e843ab"
|
2017-04-19 10:01:58 +02:00
|
|
|
noarch=yes
|
2017-04-16 20:04:11 +02:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/share/GeoIP
|
|
|
|
for i in $distfiles; do
|
|
|
|
local n=$(basename "$i" .gz)
|
|
|
|
vinstall $n 644 usr/share/GeoIP
|
|
|
|
done
|
|
|
|
}
|