diff options
author | Eray Aslan <eras@gentoo.org> | 2015-08-11 12:44:56 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2015-08-11 12:46:00 +0000 |
commit | f7c7fc22d2f9a4040a7a4df88c0529271e913a81 (patch) | |
tree | a66fff891d220e94631c1f154445f38662fcc53b /dev-db | |
parent | sys-boot/efibootmgr: x86 stable wrt bug #556876 (diff) | |
download | gentoo-f7c7fc22d2f9a4040a7a4df88c0529271e913a81.tar.gz gentoo-f7c7fc22d2f9a4040a7a4df88c0529271e913a81.tar.bz2 gentoo-f7c7fc22d2f9a4040a7a4df88c0529271e913a81.zip |
dev-db/lmdb: version bump
Package-Manager: portage-2.2.20
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/lmdb/Manifest | 1 | ||||
-rw-r--r-- | dev-db/lmdb/lmdb-0.9.15.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-db/lmdb/Manifest b/dev-db/lmdb/Manifest index 1e01e5b965b3..97c7c9bf3009 100644 --- a/dev-db/lmdb/Manifest +++ b/dev-db/lmdb/Manifest @@ -1 +1,2 @@ +DIST LMDB_0.9.15.tar.gz 130113 SHA256 a72b13db91e7c445e47194178915556b4ebcd6f9f64d48f60b1f830b0cfbd75a SHA512 c6c73661aea42679c83738afbecf9542a04ceed229f72c008b4ef406e7d9284defc652c5b070897155917c5bb2c96a4c35bde3e6423ab0f1802fb711ef1cf16a WHIRLPOOL c00fbb166467a2e7157b4ffbf10525ea8fd2987d172083b07ba52990ab7c39005be3436fe948a29f2c722bf8e4cf76009be55ff5148b0d139126c9a4703c0b28 DIST lmdb-0.9.14.tar.gz 128170 SHA256 3b14dfe2134521cfebd98168b925f7327b9bd07c715640b79f3526e54f0ccb1f SHA512 d5bde616fb22631fe1689e2c77babfbf5098833cf313bce59a5daab1e450d2998a65f087929879e73e0a897b934ff40b8e340c79ec7b2b1c1fe7e1eea7da6267 WHIRLPOOL 0ebda52fd50d9d73bc079e6a613b2e2cdaa1032665d91e499dea9dcf1698095bfe84b03a931118baae8048c616e9bae7153972446502d368e7dc9ee33105e777 diff --git a/dev-db/lmdb/lmdb-0.9.15.ebuild b/dev-db/lmdb/lmdb-0.9.15.ebuild new file mode 100644 index 000000000000..aebd820f7912 --- /dev/null +++ b/dev-db/lmdb/lmdb-0.9.15.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="An ultra-fast, ultra-compact key-value embedded data store" +HOMEPAGE="http://symas.com/mdb/" +SRC_URI="https://github.com/LMDB/lmdb/archive/LMDB_${PV}.tar.gz" + +LICENSE="OPENLDAP" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="static-libs" + +DEPEND="" +# =net-nds/openldap-2.4.40 installs lmdb files. +RDEPEND="!=net-nds/openldap-2.4.40" + +S="${WORKDIR}/${PN}-LMDB_${PV}/libraries/liblmdb" + +src_prepare() { + sed -i -e "s/^CC.*/CC = $(tc-getCC)/" \ + -e "s/^CFLAGS.*/CFLAGS = ${CFLAGS}/" \ + -e "s/ar rs/$(tc-getAR) rs/" \ + -e "s:^prefix.*:prefix = /usr:" \ + -e "s:/man/:/share/man/:" \ + -e "/for f/s:lib:$(get_libdir):" \ + -e "s:shared:shared -Wl,-soname,liblmdb.so.0:" \ + "${S}/Makefile" || die +} + +src_configure() { + : +} + +src_compile() { + emake LDLIBS+=" -pthread" +} + +src_install() { + mkdir -p "${D}"/usr/{bin,$(get_libdir),include,share/man/man1} + default + + mv "${D}"/usr/$(get_libdir)/liblmdb.so{,.0} || die + dosym liblmdb.so.0 /usr/$(get_libdir)/liblmdb.so + + use static-libs || rm -f "${D}"/usr/$(get_libdir)/liblmdb.a +} |