aboutsummaryrefslogtreecommitdiffstats
path: root/community/lmdb/APKBUILD
blob: 6de9e604edfd757d186e3b406178f88c0e59aa1c (plain)
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
29
30
31
32
33
34
35
# Contributor: Olivier Mauras <olivier@mauras.ch>
# Maintainer: Olivier Mauras <olivier@mauras.ch>
pkgname=lmdb
pkgver=0.9.19
pkgrel=0
pkgdesc="Lightning Memory-Mapped Database"
url="http://symas.com/mdb/"
arch="all"
license="custom"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="https://github.com/LMDB/lmdb/archive/LMDB_$pkgver.tar.gz
	lmdb_make.patch"
builddir="$srcdir/$pkgname-LMDB_$pkgver/libraries/liblmdb"

build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

tools() {
	mkdir -p "$subpkgdir"/usr
	mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}

md5sums="3fedea4a16676b7585b025349b3201c4  LMDB_0.9.19.tar.gz
4c45f73c0779451e07b2e3360aa5e719  lmdb_make.patch"
sha256sums="108532fb94c6f227558d45be3f3347b52539f0f58290a7bb31ec06c462d05326  LMDB_0.9.19.tar.gz
6287fb65f197079e1ad1f51255effc0f6f5f5179dd0aa106fc21f5b8265e5682  lmdb_make.patch"
sha512sums="1d9825f09592ad92a540a1dec232cf6649f41cc67b0d59dc8958a71f4090f347c84995f32a166e2c2efecb862981f455814dd07af99bc3489e42fe3fd8bc6191  LMDB_0.9.19.tar.gz
151022cad94d2138146e3cd36622171f07fb03cc66d116ac9ce766c61a8b1aa65b521bfda88b27456204f53ecd430bdeddb4d7786956a12ed0cd53f8323ffd03  lmdb_make.patch"