aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kyotocabinet/APKBUILD
blob: bfa846beaf8596bbf3a4a5cfa441d561fe530321 (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: Andrey L <innerspacepilot@gmx.com>
pkgname=kyotocabinet
pkgver=1.2.78
pkgrel=0
pkgdesc="Kyoto Cabinet is a 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="57971a231998574678d38d4b4aaffa0dafcac17416a05a42e1204d54e8d81ac1044ea703dd62f1d23c9385b5b18775918b722f428f14078451af83c29354db53  kyotocabinet-1.2.78.tar.gz"