mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
lmdb: update to 0.9.17.
This commit is contained in:
parent
1747cca815
commit
4287b382ae
2 changed files with 7 additions and 21 deletions
|
@ -1,17 +0,0 @@
|
||||||
--- libraries/liblmdb/Makefile.orig 2013-12-08 09:17:29.298223935 +0100
|
|
||||||
+++ libraries/liblmdb/Makefile 2013-12-08 09:18:54.841750719 +0100
|
|
||||||
@@ -35,10 +35,10 @@ PROGS = $(IPROGS) mtest mtest2 mtest3 mt
|
|
||||||
all: $(ILIBS) $(PROGS)
|
|
||||||
|
|
||||||
install: $(ILIBS) $(IPROGS) $(IHDRS)
|
|
||||||
- for f in $(IPROGS); do cp $$f $(DESTDIR)$(prefix)/bin; done
|
|
||||||
- for f in $(ILIBS); do cp $$f $(DESTDIR)$(prefix)/lib; done
|
|
||||||
- for f in $(IHDRS); do cp $$f $(DESTDIR)$(prefix)/include; done
|
|
||||||
- for f in $(IDOCS); do cp $$f $(DESTDIR)$(prefix)/man/man1; done
|
|
||||||
+ for f in $(IPROGS); do install -Dm755 $$f $(DESTDIR)$(prefix)/bin/$$f; done
|
|
||||||
+ for f in $(ILIBS); do install -Dm644 $$f $(DESTDIR)$(prefix)/lib/$$f; done
|
|
||||||
+ for f in $(IHDRS); do install -Dm644 $$f $(DESTDIR)$(prefix)/include/$$f; done
|
|
||||||
+ for f in $(IDOCS); do install -Dm644 $$f $(DESTDIR)$(prefix)/share/man/man1/$$f; done
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -rf $(PROGS) *.[ao] *.so *~ testdb
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'lmdb'
|
# Template file for 'lmdb'
|
||||||
pkgname=lmdb
|
pkgname=lmdb
|
||||||
version=0.9.16
|
version=0.9.17
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="lmdb-LMDB_${version}"
|
wrksrc="lmdb-LMDB_${version}"
|
||||||
hostmakedepends="git"
|
hostmakedepends="git"
|
||||||
|
@ -9,15 +9,18 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="OpenLDAP 2.8 license"
|
license="OpenLDAP 2.8 license"
|
||||||
homepage="http://symas.com/mdb/"
|
homepage="http://symas.com/mdb/"
|
||||||
distfiles="https://github.com/LMDB/lmdb/archive/LMDB_${version}.tar.gz"
|
distfiles="https://github.com/LMDB/lmdb/archive/LMDB_${version}.tar.gz"
|
||||||
checksum=49d7b40949f2ced9bc8b23ea6a89e75471a1c9126537a8b268c318a00b84322b
|
checksum=80a08218e40f76a0485ec18c42de6f1e020b1ed0268f7cb34c69746e8d98c72c
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i 's,man/man1,share/&,' libraries/liblmdb/Makefile
|
||||||
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
cd libraries/liblmdb
|
cd libraries/liblmdb
|
||||||
make XCFLAGS="$CFLAGS" CC="$CC"
|
make ${makejobs} XCFLAGS="$CFLAGS" CC="$CC"
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
cd libraries/liblmdb
|
cd libraries/liblmdb
|
||||||
make DESTDIR=${DESTDIR} prefix=/usr install
|
make DESTDIR=${DESTDIR} prefix=/usr mandir=/usr/share/man install
|
||||||
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vlicense COPYRIGHT
|
vlicense COPYRIGHT
|
||||||
|
|
Loading…
Add table
Reference in a new issue