aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kyotocabinet/APKBUILD
blob: a4ed9335b6aa0ba4d13f58fb4fea26c549244004 (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.77
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="f38794c11faa3f4b64097a2e314307e1a6b75ddc495103647ebe52786a689336754496e7083697417ea90436e7fad681f16440975abec9ae917874aa25153e0f  kyotocabinet-1.2.77.tar.gz"