diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-10-15 07:34:03 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-10-15 07:35:52 +0000 |
commit | 5af4927d438c557e0ba464d35d484162d129f842 (patch) | |
tree | ceb63315da36042516d7b2e1fa1821727b69c22d /testing | |
parent | eef435dbbd6d2b8cef0d615f0e4e5c3abe5d26cc (diff) | |
download | aports-5af4927d438c557e0ba464d35d484162d129f842.tar.bz2 aports-5af4927d438c557e0ba464d35d484162d129f842.tar.xz |
testing/geoip: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/geoip/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/geoip/APKBUILD b/testing/geoip/APKBUILD new file mode 100644 index 000000000..c594d8fd9 --- /dev/null +++ b/testing/geoip/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: +# Maintainer: Leonardo Arena <rnalrd@gmail.com> +pkgname="geoip" +_realname="GeoIP" +pkgver=1.4.6 +pkgrel=0 +pkgdesc="Lookup countries by IP addresses" +url="http://www.maxmind.com/app/ip-location" +license="GPL" +depends= +makedepends= +install= +subpackages="$pkgname-dev $pkgname-doc" +source="http://www.maxmind.com/download/geoip/api/c/$_realname-$pkgver.tar.gz" + +_builddir="$srcdir"/$_realname-$pkgver + +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc/geoip \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 + make check || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="cb14b1beeb40631a12676b11ca0c309a GeoIP-1.4.6.tar.gz" |