diff options
Diffstat (limited to 'repo/geoip/geoip.xibuild')
-rw-r--r-- | repo/geoip/geoip.xibuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/repo/geoip/geoip.xibuild b/repo/geoip/geoip.xibuild new file mode 100644 index 0000000..1b580bd --- /dev/null +++ b/repo/geoip/geoip.xibuild @@ -0,0 +1,28 @@ +#!/bin/sh + +NAME="geoip" +DESC="Lookup countries by IP addresses" + +MAKEDEPS="zlib" + +PKG_VER=1.6.12 +SOURCE="https://github.com/maxmind/geoip-api-c/releases/download/v$PKG_VER/GeoIP-$PKG_VER.tar.gz" + +build() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc/geoip \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make +} + +package() { + make DESTDIR="$PKG_DEST" install + mkdir -p "$PKG_DEST"/usr/share/GeoIP +} + +check() { + make check +} + |