Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 397446 Details for
Bug 541186
>=dev-libs/leveldb1.10.0-r1: USE=-snappy has no effect
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
leveldb-1.18-r1.ebuild
leveldb-1.18-r1.ebuild (text/plain), 1.76 KB, created by
Johan Bergström
on 2015-02-25 00:00:10 UTC
(
hide
)
Description:
leveldb-1.18-r1.ebuild
Filename:
MIME Type:
Creator:
Johan Bergström
Created:
2015-02-25 00:00:10 UTC
Size:
1.76 KB
patch
obsolete
># Copyright 1999-2015 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >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" > >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}-build_detect_platform.patch > > 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}" > # Probably needs more filling out > export TARGET_OS > case ${CHOST} in > *) TARGET_OS="Linux";; > esac > > ./build_detect_platform build_config.mk ./ > > for useflag in tcmalloc snappy; do > use !"${useflag}" && sed \ > -e "s/-l${useflag}//" \ > -e "s/-D${useflag}//" \ > -i build_config.mk > done >} > >src_compile() { > emake $(usex static-libs 'libmemenv.a' 'LIBRARY=') all libmemenv.SHARED >} > >src_test() { > emake check >} > >src_install() { > insinto /usr/include > doins -r include/* helpers/memenv/memenv.h > dolib.so libleveldb*$(get_libname)* > use static-libs && dolib.a libleveldb.a libmemenv.a > dolib.so libmemenv*$(get_libname)* >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 541186
:
397446
|
397448