summaryrefslogblamecommitdiff
path: root/user/lmdb/APKBUILD
blob: d59738f6e43c77eefb0619088482015fd7c3c653 (plain) (tree)
1
2
3
4


                                                 
             





























                                                                
                                                                                                                                                                
                                                                                                                                                  
# Contributor: Olivier Mauras <olivier@mauras.ch>
# Maintainer:
pkgname=lmdb
pkgver=0.9.23
pkgrel=0
pkgdesc="Lightning Memory-Mapped Database"
url="http://symas.com/mdb/"
arch="all"
license="OLDAP-2.8"
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
}

check() {
	cd "$builddir"
	make test
}

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

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

sha512sums="47466a96ce288d18d489acf1abf811aa973649848a4cac31f71e1f25ea781a055ebd6616d2d630214b2df2f146f12609c82d65be0196f49d6b46a6c96464e120  LMDB_0.9.23.tar.gz
151022cad94d2138146e3cd36622171f07fb03cc66d116ac9ce766c61a8b1aa65b521bfda88b27456204f53ecd430bdeddb4d7786956a12ed0cd53f8323ffd03  lmdb_make.patch"