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/libmaxminddb/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/libmaxminddb/APKBUILD')
-rw-r--r-- | user/libmaxminddb/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/user/libmaxminddb/APKBUILD b/user/libmaxminddb/APKBUILD new file mode 100644 index 000000000..f1762c4ca --- /dev/null +++ b/user/libmaxminddb/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Alyx Wolcott <alyx@leuhta.com> +# Maintainer: Alyx Wolcott <alyx@leuhta.com> +pkgname=libmaxminddb +pkgver=1.4.2 +pkgrel=0 +pkgdesc="Library for the MaxMind DB file format" +url="http://maxmind.github.io/libmaxminddb/" +arch="all" +license="Apache-2.0" +subpackages="$pkgname-dev $pkgname-doc" +source="https://github.com/maxmind/libmaxminddb/releases/download/$pkgver/$pkgname-$pkgver.tar.gz" + +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="bc18d2f19a74639888a466483afde1bccfc3a83787011a6f38808b76e5a513c9912ff369ccbf584091d4def657e0574b16b35dc69ab12ae4c439aaaf3669c4c1 libmaxminddb-1.4.2.tar.gz" |