contrib/xtables-geoip/Pkgfile

22 lines
770 B
Plaintext
Raw Normal View History

# Description: GeoIP database files for xt_geoip
# URL: http://maxmind.com/
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Danny Rawlins, monster dot romster at gmail dot com
# Depends on: p5-text-csv-xs
name=xtables-geoip
## date -d "$(curl -sI http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip | grep '^Last-Modified:' | cut -d' ' -f2-)" +%Y%m%d
2011-08-21 03:13:46 +02:00
version=20110805
release=1
2011-06-04 18:21:22 +02:00
source=(http://downloads.sourceforge.net/project/xtables-addons/Xtables-addons/1.36/xtables-addons-1.36.tar.xz
http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip)
build() {
2011-02-03 12:14:37 +01:00
install -d $PKG/usr/share/xt_geoip
2011-06-04 18:21:22 +02:00
$SRC/xtables-addons-1.36/geoip/xt_geoip_build \
2011-02-03 12:14:37 +01:00
-D $PKG/usr/share/xt_geoip/ $SRC/GeoIPCountryWhois.csv
}