diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/geoip/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/geoip/PKGBUILD')
-rw-r--r-- | extra/geoip/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/geoip/PKGBUILD b/extra/geoip/PKGBUILD new file mode 100644 index 000000000..13b4ead43 --- /dev/null +++ b/extra/geoip/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 40077 2009-05-27 06:02:01Z juergen $ +# Maintainer: Dan McGee <dan@archlinux.org> +# Contributor: Manolis Tzanidakis <manolis@archlinux.org> + +pkgname=geoip +pkgver=1.4.6 +pkgrel=1 +pkgdesc="Non-DNS IP-to-country resolver C library & utils" +arch=(i686 x86_64) +license=('GPL') +url="http://www.maxmind.com/app/c" +depends=('zlib') +backup=(etc/geoip/GeoIP.conf) +options=('!libtool') +source=(http://www.maxmind.com/download/geoip/api/c/GeoIP-${pkgver}.tar.gz) +md5sums=('cb14b1beeb40631a12676b11ca0c309a') + +build() { + cd ${startdir}/src/GeoIP-${pkgver} + ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc/geoip + make || return 1 + make check || return 1 + make DESTDIR=${startdir}/pkg install +} + |