milis/talimatname/genel/g/geoip-database/talimat

21 lines
461 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: cografi ip çözücü veritabanı
2017-06-01 18:14:21 +02:00
# URL: http://www.maxmind.com/app/c
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2017-06-01 18:14:21 +02:00
name=geoip-database
version=20170601
release=1
source=(
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
)
build() {
umask 022
install -d $PKG/usr/share/GeoIP
for i in GeoIP.dat GeoIPv6.dat; do
gzip -dc $i.gz > $PKG/usr/share/GeoIP/$i
done
}