Subject: [alpine-aports] [PATCH] testing/geoipupdate: new aport to support libmaxminddb and geoip

From: Ashley Martens <[email-masked]>
Date: Sat, 16 Apr 2016 00:17:37 +0000 (UTC)

https://github.com/maxmind/geoipupdateTool to update MaxMind databases--- testing/geoipupdate/APKBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 testing/geoipupdate/APKBUILD
diff --git a/testing/geoipupdate/APKBUILD b/testing/geoipupdate/APKBUILDnew file mode 100644index 0000000..64a7d45--- /dev/null+++ b/testing/geoipupdate/APKBUILD@@ -0,0 +1,42 @@+# Contributor: Ashley M <[email-masked]>+# Maintainer: Ashley M <[email-masked]>+pkgname=geoipupdate+pkgver=2.2.2+pkgrel=0+pkgdesc="The GoeIP Update program performs automatic updates of GeoIP2 and GeoIP Legacy binary databases from MaxMind."+url="https://github.com/maxmind/geoipupdate"+arch="all"+license="GPLv2"+depends="curl zlib"+depends_dev="gcc make libc-dev libtool automake autoconf curl-dev zlib-dev"+makedepends="$depends_dev"+install=""+subpackages="$pkgname-doc"+source="https://github.com/maxmind/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"++_builddir="$srcdir"/$pkgname-$pkgver+prepare() {+       local i+       cd "$_builddir"+       for i in $source; do+               case $i in+               *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;+               esac+       done+}++build() {+       cd "$_builddir"+       ./bootstrap || return 1+       ./configure --prefix=/usr || return 1+       make || return 1+}++package() {+       cd "$_builddir"+       make DESTDIR="$pkgdir" install || return 1+}++md5sums="06284bd7bcb298d078d794eb630dae55  geoipupdate-2.2.2.tar.gz"+sha256sums="156ab7604255a9c62c4a442c76d48d024ac813c6542639bffa93b28e2a781621  geoipupdate-2.2.2.tar.gz"+sha512sums="598e3536ce544042e11de2a4d09b6ac57357cad5a36938401185cd181d73381a6e6c38b485684f9abe096d1b279a784b2e968ac67a8084715682871c7d575415  geoipupdate-2.2.2.tar.gz"-- 2.6.6