diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2020-03-22 10:32:03 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2020-03-22 10:32:03 +0000 |
commit | d75735671d090585c546dcbc5d3a0d2fd385f640 (patch) | |
tree | ef65a1dedefe0cd4eda29249341d93744499b0f0 /user/libgeoip/APKBUILD | |
parent | f302f06f871507211336c195b110f14ea755c843 (diff) | |
parent | a2d344c9aed453180f0fcd02b353fca2677ad5d9 (diff) | |
download | packages-d75735671d090585c546dcbc5d3a0d2fd385f640.tar.gz packages-d75735671d090585c546dcbc5d3a0d2fd385f640.tar.bz2 packages-d75735671d090585c546dcbc5d3a0d2fd385f640.tar.xz packages-d75735671d090585c546dcbc5d3a0d2fd385f640.zip |
Merge branch 'powerdns-reqs' into 'master'
New packages: user/libgeoip, user/libmaxminddb, user/lua-yaml, user/yaml-cpp
See merge request adelie/packages!403
Diffstat (limited to 'user/libgeoip/APKBUILD')
-rw-r--r-- | user/libgeoip/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/libgeoip/APKBUILD b/user/libgeoip/APKBUILD new file mode 100644 index 000000000..db33d2f11 --- /dev/null +++ b/user/libgeoip/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Alyx Wolcott <alyx@leuhta.com> +# Maintainer: Alyx Wolcott <alyx@leuhta.com> +pkgname=libgeoip +pkgver=1.6.12 +pkgrel=0 +pkgdesc="GeoIP legacy C API" +url="https://github.com/maxmind/geoip-api-c" +arch="all" +license="LGPL-2.1-only" +subpackages="$pkgname-dev $pkgname-doc" +source="https://github.com/maxmind/geoip-api-c/releases/download/v$pkgver/GeoIP-$pkgver.tar.gz" +builddir="$srcdir/GeoIP-$pkgver" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="a1c8120692a7ba6de5836550917f86f4797dd236a8b7d71b6f92b5389e4b071d89e57036654f5de1d4b762730a2a5c331c31414eab0c889c9befaa097941fee7 GeoIP-1.6.12.tar.gz" |