36 lines
886 B
Bash
36 lines
886 B
Bash
# Template file for 'lmdb'
|
|
pkgname=lmdb
|
|
version=0.9.18
|
|
revision=1
|
|
wrksrc="lmdb-LMDB_${version}"
|
|
hostmakedepends="git"
|
|
short_desc="Lightning Memory-Mapped Database Manager"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="OpenLDAP-2.8"
|
|
homepage="http://symas.com/mdb/"
|
|
distfiles="https://github.com/LMDB/lmdb/archive/LMDB_${version}.tar.gz"
|
|
checksum=dd35b471d6eea84f48f2feece13d121abf59ef255308b8624a36223ffbdf9989
|
|
|
|
post_extract() {
|
|
sed -i 's,man/man1,share/&,' libraries/liblmdb/Makefile
|
|
}
|
|
do_build() {
|
|
cd libraries/liblmdb
|
|
make ${makejobs} XCFLAGS="$CFLAGS" CC="$CC"
|
|
}
|
|
do_install() {
|
|
cd libraries/liblmdb
|
|
make DESTDIR=${DESTDIR} prefix=/usr mandir=/usr/share/man install
|
|
|
|
vlicense LICENSE
|
|
vlicense COPYRIGHT
|
|
}
|
|
|
|
lmdb-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="lmdb>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|