diff options
author | Eray Aslan <eras@gentoo.org> | 2024-02-15 09:26:26 +0100 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2024-02-15 09:26:26 +0100 |
commit | fad05e9538c2c5eb9d4fd4dca6b63b72065fa767 (patch) | |
tree | afb090118e97d3a7d62d9d0fa9025d67bb353666 /dev-db | |
parent | app-containers/buildah: Stabilize 1.33.5 amd64, #924456 (diff) | |
download | gentoo-fad05e9538c2c5eb9d4fd4dca6b63b72065fa767.tar.gz gentoo-fad05e9538c2c5eb9d4fd4dca6b63b72065fa767.tar.bz2 gentoo-fad05e9538c2c5eb9d4fd4dca6b63b72065fa767.zip |
dev-db/lmdb: drop 0.9.30
Signed-off-by: Eray Aslan <eras@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/lmdb/Manifest | 1 | ||||
-rw-r--r-- | dev-db/lmdb/lmdb-0.9.30.ebuild | 70 |
2 files changed, 0 insertions, 71 deletions
diff --git a/dev-db/lmdb/Manifest b/dev-db/lmdb/Manifest index 88c59cf54aeb..8b9290f5a694 100644 --- a/dev-db/lmdb/Manifest +++ b/dev-db/lmdb/Manifest @@ -1,2 +1 @@ -DIST openldap-LMDB_0.9.30.tar.gz 145023 BLAKE2B bf93d23a3d2a2a4fe1e82e310125187e52f22cfcf7809f729edc6085521d2f66c07c042c552b745d8241d515d58c4c8da9921d503cfcca25ecacd1d06a662ad4 SHA512 4d531f1e2bb01566ad60970201cf10418a894d64167dd2e01503ab7b42c148c6ced8e857ae7f5d09e46feaa709b88f7006e5cb702b69ddaa343f005d0fef16ed DIST openldap-LMDB_0.9.31.tar.gz 145086 BLAKE2B 8df437c27cb9d40b71a8e9f516c503676dade2342c9d618dcfff6081bf0034f67d1216a6a25a364e7dacd588acb2e254b98486efade12307fa3ad7977be5ed54 SHA512 318aa89b7e39f98f636dba01620f866ddc255d81a2d4def8a9d9fdd80878608db1ac7b60bde58e954aba802d94df42786a9cd00d0c7e11646f09fd5d64821ac4 diff --git a/dev-db/lmdb/lmdb-0.9.30.ebuild b/dev-db/lmdb/lmdb-0.9.30.ebuild deleted file mode 100644 index 5e1e02cffb31..000000000000 --- a/dev-db/lmdb/lmdb-0.9.30.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit flag-o-matic multilib multilib-minimal toolchain-funcs - -MY_P="${PN^^}_${PV}" - -DESCRIPTION="An ultra-fast, ultra-compact key-value embedded data store" -HOMEPAGE="https://symas.com/lmdb/technical/" -SRC_URI="https://git.openldap.org/openldap/openldap/-/archive/${MY_P}/openldap-${MY_P}.tar.gz" - -LICENSE="OPENLDAP" -SLOT="0/${PV}" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="static-libs" - -DEPEND="" -RDEPEND="" - -S="${WORKDIR}/openldap-${MY_P}/libraries/liblmdb" - -src_prepare() { - default - if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -lt 10 ]] ; then - # posix_memalign isn't available before 10.6, but on OSX - # malloc is always aligned for any addressable type - sed -i -e '/(__APPLE__)/a#define HAVE_MEMALIGN 1\n#define memalign(X,Y) malloc(X)' mdb.c || die - fi - multilib_copy_sources -} - -multilib_src_configure() { - local soname="-Wl,-soname,liblmdb$(get_libname 0)" - if [[ ${CHOST} == *-darwin* ]] ; then - soname="-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/liblmdb$(get_libname 0)" - replace-flags -O[123456789] -O1 - fi - 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 -} - -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) - - insinto /usr/$(get_libdir)/pkgconfig - doins "${FILESDIR}/lmdb.pc" - sed -i -e "s!@PACKAGE_VERSION@!${PV}!" \ - -e "s!@prefix@!${EPREFIX}/usr!g" \ - -e "s!@libdir@!$(get_libdir)!" \ - "${ED}"/usr/$(get_libdir)/pkgconfig/lmdb.pc || die - - if ! use static-libs; then - rm "${ED}"/usr/$(get_libdir)/liblmdb.a || die - fi -} |