aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kyotocabinet/APKBUILD
blob: 63ff6ccedd9a37f8c76b0deeaca04e84aba40830 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Andrey L <innerspacepilot@gmx.com>
# Maintainer:
pkgname=kyotocabinet
pkgver=1.2.79
pkgrel=0
pkgdesc="library of routines for managing a database"
url="https://fallabs.com/kyotocabinet/"
arch="all !ppc64le !s390x !armhf !armv7"
license="GPL-3.0-or-later"
makedepends="zlib-dev lzo-dev xz-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://fallabs.com/kyotocabinet/pkg/kyotocabinet-$pkgver.tar.gz"

build() {
	./configure --prefix=/usr --enable-lzo --enable-lzma
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
	rm -f "$pkgdir"/usr/lib/*.a
}

sha512sums="9243192c81d3aa37cc8c80eb3bdf235192a0919b134cededa2b4178be515d148916e7405e094cbcdd7dbf13bf38a569bf21863afac7cc05d6418cca5853a2ff4  kyotocabinet-1.2.79.tar.gz"