diff options
author | Eray Aslan <eras@gentoo.org> | 2014-10-23 11:57:40 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2014-10-23 11:57:40 +0000 |
commit | c82cab43ab152dfeb322d737b584f65d79f1e6cb (patch) | |
tree | 3f1900ef4118920b430bae665260e3ee2b13f9f7 /dev-db/lmdb | |
parent | x86 stable, bug #525304 (diff) | |
download | gentoo-2-c82cab43ab152dfeb322d737b584f65d79f1e6cb.tar.gz gentoo-2-c82cab43ab152dfeb322d737b584f65d79f1e6cb.tar.bz2 gentoo-2-c82cab43ab152dfeb322d737b584f65d79f1e6cb.zip |
Version bump
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
Diffstat (limited to 'dev-db/lmdb')
-rw-r--r-- | dev-db/lmdb/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/lmdb/lmdb-0.9.14.ebuild | 50 |
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-db/lmdb/ChangeLog b/dev-db/lmdb/ChangeLog index 2edcbba099fc..9e73c94bbfcd 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.10 2014/08/19 20:24:23 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/lmdb/ChangeLog,v 1.11 2014/10/23 11:57:40 eras Exp $ + +*lmdb-0.9.14 (23 Oct 2014) + + 23 Oct 2014; Eray Aslan <eras@gentoo.org> +lmdb-0.9.14.ebuild: + Version bump 19 Aug 2014; Anthony G. Basile <blueness@gentoo.org> lmdb-0.9.10.ebuild, lmdb-0.9.11.ebuild, lmdb-0.9.13.ebuild: diff --git a/dev-db/lmdb/lmdb-0.9.14.ebuild b/dev-db/lmdb/lmdb-0.9.14.ebuild new file mode 100644 index 000000000000..fb3a03f7d426 --- /dev/null +++ b/dev-db/lmdb/lmdb-0.9.14.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.14.ebuild,v 1.1 2014/10/23 11:57:40 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/2f587ae081d076e3707360c5db086520c219d3ea.tar.gz + -> lmdb-0.9.14.tar.gz" + +LICENSE="OPENLDAP" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~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 +} |