diff options
author | Eray Aslan <eras@gentoo.org> | 2019-05-21 09:16:20 +0300 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2019-05-21 09:16:20 +0300 |
commit | 002742acc9d753b88e960f62bcab95d5773d45ea (patch) | |
tree | 06085509ecac7d1ff780e85afe62f114b883afd3 /dev-db/lmdb/lmdb-0.9.21-r1.ebuild | |
parent | dev-ruby/selenium-webdriver: add 3.142.3 (diff) | |
download | gentoo-002742acc9d753b88e960f62bcab95d5773d45ea.tar.gz gentoo-002742acc9d753b88e960f62bcab95d5773d45ea.tar.bz2 gentoo-002742acc9d753b88e960f62bcab95d5773d45ea.zip |
dev-db/lmdb: remove old
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Eray Aslan <eras@gentoo.org>
Diffstat (limited to 'dev-db/lmdb/lmdb-0.9.21-r1.ebuild')
-rw-r--r-- | dev-db/lmdb/lmdb-0.9.21-r1.ebuild | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/dev-db/lmdb/lmdb-0.9.21-r1.ebuild b/dev-db/lmdb/lmdb-0.9.21-r1.ebuild deleted file mode 100644 index 4a0589b13fe3..000000000000 --- a/dev-db/lmdb/lmdb-0.9.21-r1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit toolchain-funcs flag-o-matic multilib-minimal - -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/${PV}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~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() { - eapply_user - multilib_copy_sources -} - -multilib_src_configure() { - local soname="-Wl,-soname,liblmdb$(get_libname 0)" - [[ ${CHOST} == *-darwin* ]] && \ - soname="-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/liblmdb$(get_libname 0)" - sed -i -e "s!^CC.*!CC = $(tc-getCC)!" \ - -e "s!^CFLAGS.*!CFLAGS = ${CFLAGS}!" \ - -e "s!^AR.*!AR = $(tc-getAR)!" \ - -e "s!^SOEXT.*!SOEXT = $(get_libname)!" \ - -e "/^prefix/s!/usr/local!${EPREFIX}/usr!" \ - -e "/^libdir/s!lib\$!$(get_libdir)!" \ - -e "s!shared!shared ${soname}!" \ - "Makefile" || die - - if [[ ${CHOST} == *-solaris* ]] ; then - # ensure sigwait has a second sig argument - append-cppflags -D_POSIX_PTHREAD_SEMANTICS - # fdatasync lives in -lrt on Solaris 10 - [[ ${CHOST#*-solaris2.} -le 10 ]] && append-ldflags -lrt - fi -} - -multilib_src_compile() { - emake LDLIBS+=" -pthread" -} - -multilib_src_install() { - emake DESTDIR="${D}" install - - mv "${ED}"usr/$(get_libdir)/liblmdb$(get_libname) \ - "${ED}"usr/$(get_libdir)/liblmdb$(get_libname 0) || die - dosym liblmdb$(get_libname 0) /usr/$(get_libdir)/liblmdb$(get_libname) - - use static-libs || rm "${ED}"usr/$(get_libdir)/liblmdb.a || die -} |