summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-02-04 21:58:45 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2022-02-04 22:16:41 +0200
commit5d0bd6ede5c8f6107be8c62ea98ec9aafe79c58a (patch)
tree6107b9dbcda734809743d4d787a13cedb8b7e133 /dev-libs/leveldb/leveldb-1.20.ebuild
parentsys-kernel/gentoo-kernel-bin: Stabilize 5.4.176 ppc64, #832720 (diff)
downloadgentoo-5d0bd6ede5c8f6107be8c62ea98ec9aafe79c58a.tar.gz
gentoo-5d0bd6ede5c8f6107be8c62ea98ec9aafe79c58a.tar.bz2
gentoo-5d0bd6ede5c8f6107be8c62ea98ec9aafe79c58a.zip
dev-libs/leveldb: drop 1.20, 1.23-r1
Closes: https://github.com/gentoo/gentoo/pull/12745 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-libs/leveldb/leveldb-1.20.ebuild')
-rw-r--r--dev-libs/leveldb/leveldb-1.20.ebuild64
1 files changed, 0 insertions, 64 deletions
diff --git a/dev-libs/leveldb/leveldb-1.20.ebuild b/dev-libs/leveldb/leveldb-1.20.ebuild
deleted file mode 100644
index 6961f094c8cc..000000000000
--- a/dev-libs/leveldb/leveldb-1.20.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib toolchain-funcs
-
-DESCRIPTION="a fast key-value storage library written at Google"
-HOMEPAGE="https://github.com/google/leveldb"
-SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-# https://github.com/google/leveldb/issues/536
-SLOT="0/1"
-KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+snappy static-libs +tcmalloc test"
-RESTRICT="!test? ( test )"
-
-DEPEND="tcmalloc? ( dev-util/google-perftools )
- snappy? (
- app-arch/snappy:=
- )"
-RDEPEND="${DEPEND}"
-
-# https://bugs.gentoo.org/651604
-REQUIRED_USE="snappy? ( !static-libs )"
-
-# https://github.com/google/leveldb/issues/234
-# https://github.com/google/leveldb/issues/236
-PATCHES=( "${FILESDIR}"/{${PN}-1.18-configure.patch,${P}-memenv-so.patch} )
-
-src_configure() {
- # These vars all get picked up by build_detect_platform
- tc-export AR CC CXX
- export OPT="-DNDEBUG ${CPPFLAGS}"
-
- TARGET_OS=Linux \
- USE_SNAPPY=$(usex snappy) \
- USE_TCMALLOC=no \
- TMPDIR=${T} \
- sh -x ./build_detect_platform build_config.mk ./ || die
-}
-
-src_compile() {
- default
- usex static-libs && emake out-static/lib{leveldb,memenv}.a
- use test && emake static_programs
-}
-
-src_test() {
- emake check
-}
-
-src_install() {
- insinto /usr/include
- doins -r include/.
- # This matches the path Debian picked. Upstream provides no guidance.
- insinto /usr/include/leveldb/helpers
- doins helpers/memenv/memenv.h
-
- dolib.so out-shared/libleveldb*$(get_libname)*
- use static-libs && dolib.a out-static/lib{leveldb,memenv}.a
- dolib.so out-shared/libmemenv*$(get_libname)*
-}