diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-libs/leveldb/leveldb-1.18-r2.ebuild | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-libs/leveldb/leveldb-1.18-r2.ebuild')
-rw-r--r-- | dev-libs/leveldb/leveldb-1.18-r2.ebuild | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/dev-libs/leveldb/leveldb-1.18-r2.ebuild b/dev-libs/leveldb/leveldb-1.18-r2.ebuild deleted file mode 100644 index 0a4ac6bfd31c..000000000000 --- a/dev-libs/leveldb/leveldb-1.18-r2.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib toolchain-funcs versionator - -DESCRIPTION="a fast key-value storage library written at Google" -HOMEPAGE="http://leveldb.org/ https://github.com/google/leveldb" -SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="+snappy static-libs +tcmalloc kernel_FreeBSD" - -DEPEND="tcmalloc? ( dev-util/google-perftools ) - snappy? ( - app-arch/snappy:= - static-libs? ( app-arch/snappy[static-libs(-)] ) - )" -RDEPEND="${DEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.18-mips.patch - epatch "${FILESDIR}"/${PN}-1.18-configure.patch #541186 - - local SHARED_MINOR=$(get_version_component_range 2) - sed \ - -e "s/\(^ SHARED_MINOR =\).*/\1 ${SHARED_MINOR}/" \ - "${FILESDIR}/${PN}-1.9.0-memenv-so.patch" > memenv-so.patch - epatch memenv-so.patch -} - -src_configure() { - # These vars all get picked up by build_detect_platform - # which the Makefile runs for us automatically. - tc-export AR CC CXX - export OPT="-DNDEBUG ${CPPFLAGS}" - local targetos - if use kernel_FreeBSD; then - targetos="FreeBSD" - else - targetos="Linux" - fi - - TARGET_OS=${targetos} \ - USE_SNAPPY=$(usex snappy) \ - USE_TCMALLOC=no \ - TMPDIR=${T} \ - sh -x ./build_detect_platform build_config.mk ./ -} - -src_compile() { - emake $(usex static-libs 'libmemenv.a' 'LIBRARY=') all libmemenv.SHARED -} - -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 libleveldb*$(get_libname)* - use static-libs && dolib.a libleveldb.a libmemenv.a - dolib.so libmemenv*$(get_libname)* -} |