lmdb: adopted port

This commit is contained in:
Tim Biermann 2022-12-22 10:06:59 +00:00
parent 8d84d472f6
commit 3f53ee7e0d
Signed by: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 28 additions and 19 deletions

View File

@ -1,7 +1,6 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/mdb_copy
-rwxr-xr-x root/root usr/bin/mdb_drop
-rwxr-xr-x root/root usr/bin/mdb_dump
-rwxr-xr-x root/root usr/bin/mdb_load
-rwxr-xr-x root/root usr/bin/mdb_stat
@ -10,11 +9,12 @@ drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/liblmdb.a
-rwxr-xr-x root/root usr/lib/liblmdb.so
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/lmdb.pc
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/mdb_copy.1.gz
-rw-r--r-- root/root usr/share/man/man1/mdb_drop.1.gz
-rw-r--r-- root/root usr/share/man/man1/mdb_dump.1.gz
-rw-r--r-- root/root usr/share/man/man1/mdb_load.1.gz
-rw-r--r-- root/root usr/share/man/man1/mdb_stat.1.gz

View File

@ -1,5 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF364LxznD1kh+7zoKEBGKaRUCQSjm3FCzlQbuVFpkdY1JbqYlsw2KkwNV7WuA6bZzmBet0tLVK4by4Dvpx9buJwY=
SHA256 (Pkgfile) = 440a075df5670b7fd31f6593a19e213bb36ab1435f54f749c0dae39793798b7a
SHA256 (.footprint) = d0ce3392c3fd9add924967e94a10f21573e6c2ee9e0de915c1ae411385190e18
SHA256 (lmdb-20210501.tar.gz) = 8ad3ddec3fbf8e499d7cb80d7b973778cc99f8b009f0629ba650a2e91fdd8fae
RWSagIOpLGJF388QOpnXURZ16cGBO5G35QyCy+aUBTcKmPY43KmK3Ghqo8hbFLvaxLHSg4ofG7ckvnEHtbCDmSFUCmaz7CzL4QI=
SHA256 (Pkgfile) = 5d643bc56eeffc3e6dd38789911220c0cefe3722693d1901c9b1ca3e029c0c74
SHA256 (.footprint) = 38006a49d6f83bb37af31bd12ddb9f0873bd9c235a6c21733ee704ab12e91bcf
SHA256 (lmdb-0.9.29.tar.gz) = 22054926b426c66d8f2bc22071365df6e35f3aacf19ad943bc6167d4cae3bebb
SHA256 (lmdb.pc) = effc8326ab5cd4be01867fc1bcbb2347d1b99b31f38811dbe3e26b969db9dfc3

View File

@ -1,21 +1,18 @@
# Description: The Lightning Memory-Mapped Database Manager
# URL: https://github.com/LMDB/lmdb
# (Really: https://www.OpenLDAP.org/)
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
# URL: https://github.com/LMDB/lmdb
# Maintainer: Tim Biermann, tbier at posteo dot de
name=lmdb
version=20210501
gitver=4b6154340c27d03592b8824646a3bc4eb7ab61f5
version=0.9.29
release=1
source=(
https://github.com/LMDB/${name}/archive/\
${gitver}/${name}-${version}.tar.gz
)
source=(https://github.com/LMDB/lmdb/archive/LMDB_$version/$name-$version.tar.gz
lmdb.pc)
build() {
cd ${name}-${gitver}/libraries/liblmdb/
sed -i "s|@@VERSION@@|$version|" -i $SRC/lmdb.pc
make prefix=/usr DESTDIR="${PKG}" install
cd $name-LMDB_$version/libraries/liblmdb
make CFLAGS+=" -fPIC"
make DESTDIR=$PKG prefix=/usr install
install -Dm0644 $SRC/lmdb.pc -t $PKG/usr/lib/pkgconfig
}
# s-sh-mode

11
lmdb/lmdb.pc Normal file
View File

@ -0,0 +1,11 @@
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: liblmdb
Description: Lightning Memory-mapped key-value database
URL: http://symas.com/mdb/
Version: @@VERSION@@
Libs: -L${libdir} -llmdb
Cflags: -I${includedir}