2013-12-08 08:28:08 +00:00
|
|
|
# Template file for 'lmdb'
|
|
|
|
pkgname=lmdb
|
2014-10-03 03:42:34 +00:00
|
|
|
version=0.9.14
|
2013-12-08 08:28:08 +00:00
|
|
|
revision=1
|
2014-07-27 14:05:16 +00:00
|
|
|
hostmakedepends="git"
|
2013-12-08 08:28:08 +00:00
|
|
|
short_desc="Lightning Memory-Mapped Database Manager"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-12-08 08:28:08 +00:00
|
|
|
license="OpenLDAP 2.8 license"
|
|
|
|
homepage="http://symas.com/mdb/"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
git clone -b LMDB_${version} git://gitorious.org/mdb/mdb.git lmdb-${version}
|
|
|
|
}
|
|
|
|
do_build() {
|
|
|
|
cd libraries/liblmdb
|
|
|
|
make XCFLAGS="$CFLAGS" CC="$CC"
|
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
cd libraries/liblmdb
|
|
|
|
make DESTDIR=${DESTDIR} prefix=/usr install
|
|
|
|
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/lmdb
|
|
|
|
vinstall COPYRIGHT 644 usr/share/licenses/lmdb
|
|
|
|
}
|
|
|
|
|
|
|
|
lmdb-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="lmdb>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|