diff options
author | Tim Biermann <tbier@posteo.de> | 2022-12-22 10:06:59 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2022-12-22 10:06:59 +0000 |
commit | 3f53ee7e0de8b4179c508dfc525f94ec3307c63d (patch) | |
tree | b9e403d7b92507cc7f0aee0d35e93893fd9340e9 /lmdb | |
parent | 8d84d472f6a11b217d96ed886d7ebc087e1df386 (diff) | |
download | contrib-3f53ee7e0de8b4179c508dfc525f94ec3307c63d.tar.gz contrib-3f53ee7e0de8b4179c508dfc525f94ec3307c63d.tar.xz |
lmdb: adopted port
Diffstat (limited to 'lmdb')
-rw-r--r-- | lmdb/.footprint | 4 | ||||
-rw-r--r-- | lmdb/.signature | 9 | ||||
-rw-r--r-- | lmdb/Pkgfile | 23 | ||||
-rw-r--r-- | lmdb/lmdb.pc | 11 |
4 files changed, 28 insertions, 19 deletions
diff --git a/lmdb/.footprint b/lmdb/.footprint index 648981f2e..7eb669c43 100644 --- a/lmdb/.footprint +++ b/lmdb/.footprint @@ -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 diff --git a/lmdb/.signature b/lmdb/.signature index dd94f4df3..a23421a6c 100644 --- a/lmdb/.signature +++ b/lmdb/.signature @@ -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 diff --git a/lmdb/Pkgfile b/lmdb/Pkgfile index 1d3b6fc08..e67c028e2 100644 --- a/lmdb/Pkgfile +++ b/lmdb/Pkgfile @@ -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 diff --git a/lmdb/lmdb.pc b/lmdb/lmdb.pc new file mode 100644 index 000000000..3362f2c86 --- /dev/null +++ b/lmdb/lmdb.pc @@ -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} |