diff options
Diffstat (limited to 'opt/geoip/MAKEPKG')
| -rw-r--r-- | opt/geoip/MAKEPKG | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/opt/geoip/MAKEPKG b/opt/geoip/MAKEPKG new file mode 100644 index 0000000..924fc18 --- /dev/null +++ b/opt/geoip/MAKEPKG @@ -0,0 +1,37 @@ +#!/bin/mkpkg +# description: Non-DNS IP-to-country resolver C library and utilities +# url: https://github.com/maxmind/geoip-api-c + +name=geoip +version=1.6.12 +release=1 +makedeps=(libtool autoconf automake) +source=(https://github.com/maxmind/geoip-api-c/releases/download/v$version/GeoIP-$version.tar.gz + geoip_update.sh) + +sha256sums=( + "1dfb748003c5e4b7fd56ba8c4cd786633d5d6f409547584f6910398389636f80" + "a814a6fc80144bb3850a02949e7e7311dd7d59d30b8da22f289d86b0ac4f18d6" +) + +build() { + cd $SRC/GeoIP-$version + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --sysconfdir=/etc + + make + make DESTDIR=$PKG install + + install -d $PKG/usr/share/GeoIP + install -m 755 $SRC/geoip_update.sh $PKG/usr/bin/geoip_update +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +#vim: filetype=sh |
