diff options
author | Eray Aslan <eras@gentoo.org> | 2014-07-19 14:12:45 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2014-07-19 14:12:45 +0000 |
commit | acad43d2223bae9a0fb86005847bb8d130e2fa56 (patch) | |
tree | d18e58b1b16b295394c2df0943ba6dbdfae74d58 /dev-db | |
parent | Add unit file (#517348 by Jose Romildo Malaquias) (diff) | |
download | gentoo-2-acad43d2223bae9a0fb86005847bb8d130e2fa56.tar.gz gentoo-2-acad43d2223bae9a0fb86005847bb8d130e2fa56.tar.bz2 gentoo-2-acad43d2223bae9a0fb86005847bb8d130e2fa56.zip |
Version bump
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/lmdb/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/lmdb/lmdb-0.9.13.ebuild | 50 |
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-db/lmdb/ChangeLog b/dev-db/lmdb/ChangeLog index ed101d553531..4b40803db8b0 100644 --- a/dev-db/lmdb/ChangeLog +++ b/dev-db/lmdb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/lmdb # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/lmdb/ChangeLog,v 1.6 2014/07/05 13:22:13 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/lmdb/ChangeLog,v 1.7 2014/07/19 14:12:45 eras Exp $ + +*lmdb-0.9.13 (19 Jul 2014) + + 19 Jul 2014; Eray Aslan <eras@gentoo.org> +lmdb-0.9.13.ebuild: + Version bump 05 Jul 2014; Tobias Klausmann <klausman@gentoo.org> lmdb-0.9.11.ebuild: Keyworded on alpha, bug #498466 diff --git a/dev-db/lmdb/lmdb-0.9.13.ebuild b/dev-db/lmdb/lmdb-0.9.13.ebuild new file mode 100644 index 000000000000..806ae1223267 --- /dev/null +++ b/dev-db/lmdb/lmdb-0.9.13.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/lmdb/lmdb-0.9.13.ebuild,v 1.1 2014/07/19 14:12:45 eras Exp $ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="An ultra-fast, ultra-compact key-value embedded data store" +HOMEPAGE="http://symas.com/mdb/" +SRC_URI="https://gitorious.org/mdb/mdb/archive/59d30a49c3ad403235ba30f65e074eddf1c125f0.tar.gz + -> lmdb-0.9.13.tar.gz" + +LICENSE="OPENLDAP" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~x86" +IUSE="static-libs" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/mdb-mdb/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 +} |