summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2023-05-28 08:20:03 +0200
committerEray Aslan <eras@gentoo.org>2023-05-28 08:20:03 +0200
commitb2c439f01f519c6e023a3b61e0991a60b6234ddd (patch)
tree0a2a18fc36206e9343fd9fe70a0c545bca6cea5d /dev-db
parentx11-apps/scripts: Delete (diff)
downloadgentoo-b2c439f01f519c6e023a3b61e0991a60b6234ddd.tar.gz
gentoo-b2c439f01f519c6e023a3b61e0991a60b6234ddd.tar.bz2
gentoo-b2c439f01f519c6e023a3b61e0991a60b6234ddd.zip
dev-db/lmdb: drop 0.9.29
Signed-off-by: Eray Aslan <eras@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/lmdb/Manifest1
-rw-r--r--dev-db/lmdb/lmdb-0.9.29.ebuild75
2 files changed, 0 insertions, 76 deletions
diff --git a/dev-db/lmdb/Manifest b/dev-db/lmdb/Manifest
index b27c0def1623..b066dd1040a4 100644
--- a/dev-db/lmdb/Manifest
+++ b/dev-db/lmdb/Manifest
@@ -1,2 +1 @@
-DIST openldap-LMDB_0.9.29.tar.gz 144545 BLAKE2B b7e55e4fa03e878a95b8f7c583684727a81d51a3acf2ec064d8fe26475bf9ffe4dddf16c2bccbda901b94b7c8d57f41fa63f7c09bcab46401bd000958a5b87b3 SHA512 b41ba5b139375d23617a79f4d322399df55745c5a4a63159ddbe0f1ded4707f0eb7f71acf3d1a4928f8fcab30a7b5db17e3e165441a61ec1dbd29f8d9efa65d1
DIST openldap-LMDB_0.9.30.tar.gz 145023 BLAKE2B bf93d23a3d2a2a4fe1e82e310125187e52f22cfcf7809f729edc6085521d2f66c07c042c552b745d8241d515d58c4c8da9921d503cfcca25ecacd1d06a662ad4 SHA512 4d531f1e2bb01566ad60970201cf10418a894d64167dd2e01503ab7b42c148c6ced8e857ae7f5d09e46feaa709b88f7006e5cb702b69ddaa343f005d0fef16ed
diff --git a/dev-db/lmdb/lmdb-0.9.29.ebuild b/dev-db/lmdb/lmdb-0.9.29.ebuild
deleted file mode 100644
index 19d756bd4f13..000000000000
--- a/dev-db/lmdb/lmdb-0.9.29.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit flag-o-matic 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 ~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
-
- if [[ ${CHOST} == *-solaris* ]] ; then
- # 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)
-
- 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
-}