From 6fc275667dba6cabf4fbec5eaf75fdcc2349aef3 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sun, 21 Mar 2010 13:19:41 -0500 Subject: geopip and python-geopip: initial import ref 508 --- abs/extra-testing/geoip/PKGBUILD | 25 +++++++++++++++++++++++++ abs/extra-testing/python-geoip/PKGBUILD | 20 ++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 abs/extra-testing/geoip/PKGBUILD create mode 100644 abs/extra-testing/python-geoip/PKGBUILD diff --git a/abs/extra-testing/geoip/PKGBUILD b/abs/extra-testing/geoip/PKGBUILD new file mode 100644 index 0000000..9ae74ba --- /dev/null +++ b/abs/extra-testing/geoip/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 40078 2009-05-27 06:04:17Z juergen $ +# Maintainer: Dan McGee +# Contributor: Manolis Tzanidakis + +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 +} + diff --git a/abs/extra-testing/python-geoip/PKGBUILD b/abs/extra-testing/python-geoip/PKGBUILD new file mode 100644 index 0000000..9def348 --- /dev/null +++ b/abs/extra-testing/python-geoip/PKGBUILD @@ -0,0 +1,20 @@ +# $Id: PKGBUILD 29760 2009-03-12 10:07:44Z douglas $ +# Maintainer: Jan de Groot + +pkgname=python-geoip +pkgver=1.2.4 +pkgrel=1 +pkgdesc="Python bindings for the GeoIP IP-to-country resolver library." +arch=(i686 x86_64) +url="http://www.maxmind.com/app/python" +license=('LGPL') +depends=('python>=2.5' 'geoip') +source=(http://www.maxmind.com/download/geoip/api/python/GeoIP-Python-${pkgver}.tar.gz) +replaces=('geoip-python') +provides=('geoip-python') + +build() { + cd ${startdir}/src/GeoIP-Python-${pkgver} + python setup.py build install --root=${startdir}/pkg +} +md5sums=('50f820d854476efaf3b7af733ffe4236') -- cgit v0.12