summaryrefslogblamecommitdiff
path: root/user/libmaxminddb/APKBUILD
blob: c03397a4602a1652c0161599dd4475f1f6cdb71e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                             
            






                                                                                                  



















                                         
                                                                                                                                                                        
# Contributor: Alyx Wolcott <alyx@leuhta.com>
# Maintainer: Alyx Wolcott <alyx@leuhta.com>
pkgname=libmaxminddb
pkgver=1.4.3
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="7fd97678ea6ca41cc4530864276b0233acbb16208571dc4694902943b3aa7e97c683c5676ea3f2de948c67aebd083f5d073b9ae36b7e89059c17f797ffddf65e  libmaxminddb-1.4.3.tar.gz"