blob: fbb7074ed388fe6ac1df23b797ec1ef384e00ab4 (
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
36
37
38
39
40
41
42
43
|
pkgname=lmdb
pkgver=0.9.17
pkgrel=0
pkgdesc="Lightning Memory-Mapped Database"
url="http://symas.com/mdb/"
arch="all"
license="custom"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="https://github.com/LMDB/lmdb/archive/LMDB_$pkgver.tar.gz
lmdb_make.patch
"
_builddir="$srcdir"/$pkgname-LMDB_$pkgver/libraries/liblmdb
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="8a5501c8b8535ddd6de67e95a8633aff LMDB_0.9.17.tar.gz
fac0cc7847df9c34b6366ccd31952583 lmdb_make.patch"
sha256sums="80a08218e40f76a0485ec18c42de6f1e020b1ed0268f7cb34c69746e8d98c72c LMDB_0.9.17.tar.gz
26c40e869b579ce2077bd4590997940aa9e1f2ccb625470b07eca8ed37e776de lmdb_make.patch"
sha512sums="2f6108364973e01f6379613c02b9fa11933d6c91eadc5ae0cad55818bc0205041d0663a5dd936d89ec651eb1de0257390d48d549d1bc24ef29d7ee57c9fcb941 LMDB_0.9.17.tar.gz
c46acb1125315e4bc1e5ccc49f6adbdabc5eb2274e22700af71d5a6759b6ed7f243f5287d49f118e557bdbe3715c33118dd479a71df8132ff41ad377ea4b3e58 lmdb_make.patch"
|