diff options
Diffstat (limited to 'dev-db/lmdb/lmdb-0.9.13.ebuild')
-rw-r--r-- | dev-db/lmdb/lmdb-0.9.13.ebuild | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/dev-db/lmdb/lmdb-0.9.13.ebuild b/dev-db/lmdb/lmdb-0.9.13.ebuild deleted file mode 100644 index c51e7fb9cddc..000000000000 --- a/dev-db/lmdb/lmdb-0.9.13.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# 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.3 2014/10/27 21:28:47 robbat2 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 ~ppc ~ppc64 ~x86" -IUSE="static-libs" - -DEPEND="" -# =net-nds/openldap-2.4.40 installs lmdb files. -RDEPEND="!=net-nds/openldap-2.4.40" - -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 -} |