summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-06-30 01:14:06 +0000
committerAnthony G. Basile <blueness@gentoo.org>2014-06-30 01:14:06 +0000
commit857f95c12d4abdba61e6357a096c3c2e5362a39f (patch)
treef3e60dbafe2aff4f63a9c948301d43430ea30409 /dev-libs/leveldb
parentdrop py2.6 pypy2_0 add py3.4 (diff)
downloadhistorical-857f95c12d4abdba61e6357a096c3c2e5362a39f.tar.gz
historical-857f95c12d4abdba61e6357a096c3c2e5362a39f.tar.bz2
historical-857f95c12d4abdba61e6357a096c3c2e5362a39f.zip
Remove ~arch versions that don't have the forward compat patch
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'dev-libs/leveldb')
-rw-r--r--dev-libs/leveldb/ChangeLog6
-rw-r--r--dev-libs/leveldb/Manifest32
-rw-r--r--dev-libs/leveldb/leveldb-1.10.0.ebuild53
-rw-r--r--dev-libs/leveldb/leveldb-1.11.0.ebuild53
-rw-r--r--dev-libs/leveldb/leveldb-1.12.0.ebuild53
-rw-r--r--dev-libs/leveldb/leveldb-1.13.0.ebuild53
6 files changed, 19 insertions, 231 deletions
diff --git a/dev-libs/leveldb/ChangeLog b/dev-libs/leveldb/ChangeLog
index 3698a4989f00..20b66fff8c50 100644
--- a/dev-libs/leveldb/ChangeLog
+++ b/dev-libs/leveldb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/leveldb
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/ChangeLog,v 1.19 2014/06/30 01:08:11 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/ChangeLog,v 1.20 2014/06/30 01:13:56 blueness Exp $
+
+ 30 Jun 2014; Anthony G. Basile <blueness@gentoo.org> -leveldb-1.10.0.ebuild,
+ -leveldb-1.11.0.ebuild, -leveldb-1.12.0.ebuild, -leveldb-1.13.0.ebuild:
+ Remove ~arch versions that don't have the forward compat patch
*leveldb-1.11.0-r1 (30 Jun 2014)
*leveldb-1.12.0-r1 (30 Jun 2014)
diff --git a/dev-libs/leveldb/Manifest b/dev-libs/leveldb/Manifest
index 83339a676d65..187e9598e280 100644
--- a/dev-libs/leveldb/Manifest
+++ b/dev-libs/leveldb/Manifest
@@ -11,33 +11,29 @@ DIST leveldb-1.14.0.tar.gz 208282 SHA256 9122d2c248ba40d6ce46d0c3e4738fcfa941d0d
DIST leveldb-1.15.0.tar.gz 205691 SHA256 d7c4ec571ef2ee9719f31db06344a1eba495e6abeeac1bc349d0d38a911c6680 SHA512 af5b18a7750ac553659075c1c34aa2fddf6322b6837f096589cf5908c7050fd19053cd98d19fd7097e0840392b318f0166360d3a0595adcaaabcfdf393246775 WHIRLPOOL 10136e1b8686ef2993e4b45b371bf749972fe84e0cd615bf18fc85de676e589951689adefc3a14625e66cf6cc4f70ffd99bf0c832209a97ceccee834853a7503
DIST leveldb-1.9.0.tar.gz 203872 SHA256 b2699b04e5aba8e98382c4955b94725d1f76bd0b5decd60c5628205b717a1d4f SHA512 47b0a3272eef2d677ddeb8d0c973e59a1be4bff580528c3bc3f83a654f41485ecc86892d9124ce21ef747c220f98cdad687436849dc978adfd42f8c8c05b9160 WHIRLPOOL 301ba45968095420ff72da36f128bd916d4e039385270eecd8e077aac3781ed12931c9a7d426842e197fd62a99ad6477e5eabbca7524fcba2a185a702f4ef22a
EBUILD leveldb-1.10.0-r1.ebuild 1408 SHA256 f7960a4caa19484ab022140e381920fa093ec9873a95980d3910328071425e2b SHA512 69adc5868beaec96c99bde2ed9b585714864a5cc1d39645a6c69df3641788c0e41443356d390cc5af69085a2bec301f4a01ec0e51951414bb6bc046a4859a583 WHIRLPOOL e1b702ea6ae2125ed0d7372b2ee7b0a3e4a13f9e1cd7e44b8f1d0a121268a6707339da5abb1b9fb8d8bc104ca40418915e45e20afa98a371792c604ea561b007
-EBUILD leveldb-1.10.0.ebuild 1332 SHA256 7d1096d1fe811a9ae2f61cfd2e7d6350d5b131ff2774ea6eb21974e6058772bc SHA512 52868097f52d4f136e64ecd4e8f1d244158d304baaff7bc7c03bae0bf37193def84d8b6d0593cdbee194b2355b6733a8c8453d05faba5c30eff6eea4c59fd26c WHIRLPOOL 06fc4a72d354e8fa71704aab6d66e1efbad21eef512a530f2e21285e9211de00b4197de96b164640b0461cfa0a27aa9cc42e03b625202c119914441746d07b45
EBUILD leveldb-1.11.0-r1.ebuild 1408 SHA256 f77175e9f8ace43c37eb7fd1e1830c197fb05ed4327ad76eff266332c589bb25 SHA512 0bc8a29ba6c3a9dbfcb248279186bd7ea9754ddc2ef57be51863d90ccab4dfc2148f70ac60e30056d63ef25827a8664ef3e26d6037542efcf39f5db57cfbb76f WHIRLPOOL 5ec21c729dd5a9c242d3032e9c697fb2934a309c3e9c73db30cfd94fd9ec1077da36b7acd811658195b9497161fb3d4b130361ed7b7d325d8a8b6ffde84ed0aa
-EBUILD leveldb-1.11.0.ebuild 1332 SHA256 d854b2e96333f7383b25d91eea2f9c127b49c0eb1c3bb9df4e6bb873af2da01c SHA512 8ab386f914d129fa88167aeba68e35771d6d83a400342b1875427f0be9e4c3ba59d2a7de19d146338fee236f9fb20699296f6a836582fb59b4a87b23f0a50033 WHIRLPOOL 82571dbe54976a0b063bf47ea1105282f2bf351dbb4d1a347ecaedc78e2c2f246918dc6011477798c901c1feb7b0e8400c563a0baf0c1e1ba8495752ec19c643
EBUILD leveldb-1.12.0-r1.ebuild 1408 SHA256 8d8dfbb3336ff8c8ad60552541a71f3bab982bffcc624015605231d44c9e2c44 SHA512 12d7529472b0d8f71c8dfbf79f90c2868d9ea537878cae5b8e8347e3c603c03d12258d3cb008a52d9cb5c17f40c27e6f04fc6286bb9cf70dd4c23a6d5de80975 WHIRLPOOL 7cbc7e6390002933202c03f9410e3f78d85ffed5af9145c754957e3b84ba3c9c5e76cc94ced1ed92ba9ddd3be095b4a8dc5cde1c01e66052d29c0e07bb43ee4f
-EBUILD leveldb-1.12.0.ebuild 1332 SHA256 9458dc73a9af4450f925d78fc82c6eeb59181775690e2ff71908e3d517ab1e5d SHA512 1044982cef833c35c3f8a73d9d31a7430da1e5430c11b665f97d62c8ccd1c369710e3eae4c7e3e3a28eb4de8f60f24a2eae264e9f510df14becf6bbdfffeafc7 WHIRLPOOL 30821993bc15ededd17f6a4882cda53854cccc458afd0001022d2bf886ec798dfb43a0d8ead94b632513719427adc2dcc9a7af5f1a4a65e6b11cbcf894e86acc
EBUILD leveldb-1.13.0-r1.ebuild 1408 SHA256 9debf867423dc17c5b78471fb17716c4647d895c2768dc5c9fbd0743918f2ff7 SHA512 5926c01bf7f71c6b39a130bec19c0b46068fe0e5b34beeef2c96963fbf027c5dfc1e3156e0b531bca80c98f313c7e4815aaa92b79ad99840967ea0f6dbc1385b WHIRLPOOL f3c110efe8797cd0bff7e840b28c889de6d89d0a01bf6ce78948a0059c360a5683e1e072483663c4e849fbe8b6056b88de1fa27e8e97494f8f09fddd4ba42085
-EBUILD leveldb-1.13.0.ebuild 1332 SHA256 5c2e27e292bf0d16502458119cf77f353df1b9799e94bd3905da39f381b9d687 SHA512 cda65e842220ede60a6eddd2eca5609e125619b44239a1b3282ddd51ea253c9d1426770fd545d4ba5b1d3bca10fe5b188ad9e5ece4a62518f48e6bf30f184d92 WHIRLPOOL a5e52e9e351fd2cc2d8d057e906ff4edecad88d5b623ea00eb0f299eedb9c9c984c12955796f1211557ad7285d4806882d52e9e7efc7e4eb46645ae5e5d589cd
EBUILD leveldb-1.14.0.ebuild 1331 SHA256 79c3a2913c0b72170c7248989ec05cdc77ddfed35b38b09b169e574ccc3c9ce4 SHA512 39b52f2c71ff08e6ca84e5ecb7c17790a070ab0786067ffd99e9a80a0a825da82036e1c0b46a3f16f1afa593733e294ce55efd632e74a1ec9ec8d9fa6f0486c9 WHIRLPOOL 24793edf1d7cbee02b21c8ade5ca229067f49c18cf8ae305da466a1974542ab70fc38ada1205aef7a8a4f999e3d70d9982c21777b96f9b5037aba8a1f68ebb1c
EBUILD leveldb-1.15.0.ebuild 1331 SHA256 399bd550cd61269d6e7ee97c22275819c16a40580663408729fe2041f9e7d1d9 SHA512 5d0b924ce36f2c0dff34e6528ca5ca152ceef2844ab027994d8c549513bb6ee1fe9093c00e1fec491db8860531fdb388ef6ac8073027fbd035c9517efa336a96 WHIRLPOOL 621fd8b9654583084701e176f9bdf6b01b80cb88428c118d448de922ca925466ca6d5a1997525347ba4ccf40c717d247f65aa48530000232b9d40cab2be86ce8
EBUILD leveldb-1.9.0-r5.ebuild 1322 SHA256 b0110c5ab60f7042c8e33f090a94b93c7900607f2e7773f6a0abd494f53f6071 SHA512 0ca565fb96b055a7fa50e9d00ff7ce9bac72f14101d5d1b273fbd8d8cd536bf935a2f9c39c8c023ae9a51b036db884dd6937d4a10b673fbfddb29d13939232a0 WHIRLPOOL 28efb36b01995f24aa04146b401a8cf8258538fd84a2ce696f251e36aabe41c910e4c93dd0d95b8f5956002b9bdcfd903832d7b580cb8595b9bc3bf6ad95dacb
EBUILD leveldb-1.9.0-r6.ebuild 1384 SHA256 5a86c5780d76db7ad70eb80c8e2ebeb4161b86d17f7dae3b63822881152b0508 SHA512 6b1dac76ee66732b3d902c7a212beed707c98ff92ce331e265189876b8b829a6f855e8c9bc4b5dfacd4b6da34694211fb78cfd5fa63ae1faf4154e8d5120572b WHIRLPOOL e60b80877b2341dd805f0d3c8f08256d56eb59525e9a93ce5d77458576845a470586752b96021a04be16abcb7040dbdb3fc1bc61a6c4376e052f96c531ab0199
-MISC ChangeLog 3089 SHA256 2f21f4e07e483a79193086a204098ec438fcca43126c78d9d85b9a36e8b79d6b SHA512 43297222d281840265658dbbd44e22eb87f153640c1888c3b1998050c5a93a3ecdc72796e82b1b0cd1e9573aa59abecc5728e0573bd525fda9b609d2b613d921 WHIRLPOOL d9d8deb43686c09fbaab8bbf2f86053a9460ac6a83067d9c2604811c6f63d0a5ddf70a5ddf5859e0916939f1db0d8db23e704ccdb716982228105f3ea3b7e39b
+MISC ChangeLog 3308 SHA256 95cc78aa8f380b6a1cce904f855087df35e72b5a9ba0014557c02ed5aa829e53 SHA512 7ed47f63d4a85622dfa8d095551e6a47f6dd330e4b0f63a1565e5726c43783b179bd0e3690502a3fa1afc52172eb5377be7ac1024ed209744bfeae63203f8629 WHIRLPOOL 218ed6e22f3f418cf5a40edf6361e31d92eb960fb49aac9db74f558aa9d2f0447d6b07d392801b23f5e221b97e20b2e0466ea6a27da3a9be28c5bc5bbff1f9d3
MISC metadata.xml 446 SHA256 f36024a661afe4d9be20033f664174a90b76df85e531da553abe9ca7d10dcb58 SHA512 d61a8e5645c7eff9fed94136ead2ad8d310e0313fd200ae754a8fc13ca8f5378b03ca2c95bd228cd1c7c5227edb00c25ddc512c6a004a9f5514238986b8dbade WHIRLPOOL 65044cd9194579bf1a2e577369cc4b09fa9d84d0d1e78bcdb41b0c70b68369171829ff80c89cbe24c974af0c829f415c207a0b537c8b5e9170fe71eafebb3ef7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJTsLi4AAoJEJOE+m71LUu6Zt0QAI47uc8OSgeTjRcw5ff9ySeq
-zVhO5WayUONBK/DmtSCpG9fjtO28876nROGqVYPhRbKaYyL962NOw2GfsvnZjTpv
-8w0V0Yw5TiC/cZFzSLEGH+bj6/zuHjQaMdZ625kirOK5WvpCobGacxaWSwEHkHZf
-mqkBtrsW5xI1BHFoDaG7BIvKTz3kRYOishzNBD1SoFdfjvtdrG6bLGCXLpQJGdGk
-TSMOMMssnNGHcFNx5Za2f6UjShf2B3A36bkNm7RLKdJwnCp/z6DN/VGrPFJbbI3M
-mwjbAiZbvXep+vZ614OofOmx4i35Uvwqf9kW8eqGQELYzU9lgbtIHVI0QrNHg+na
-8TlRl7U5CV2xnyx7dr+jGoQk5P1HNzB5F0QKJfpptvhuyHPPbldgGxRBZTntebAC
-dTDgsEc+1jHmz1HpohVUIJwrXEH8UwgCbhV1Pqw8juq642W7P6VzZoRyRSrS2HL3
-ZU3kbuoDbdew7QIBov/bkTA8QkIvGdb5414ox9eHF71CYtQskM1vwK21HaesppRn
-cEbxihxbpYleHkg0FOKESXj3LM4694+kMD3gpHrfRLI/42jPFFDv4VZZNOWITtS6
-16vtVZvBWdtyZKSUxLjURttoHZpsZ3bkF2b/Fr+DDS3PGqxmhGFNUSdItH3YfGUs
-hRZWFXATfv2NAFoOZ+Qy
-=6NUY
+iQIcBAEBCAAGBQJTsLoPAAoJEJOE+m71LUu6v3oQAIbuzcW8Ba5rCgFCiDSLVeEB
+KMHxW5AWmcoyTTqJzvS3mUUSJ0anWEEd1+xpRgDIK86V6KG23/ZZd7MtdyXs0F9o
+3WhOOBXeUOq2r0S3DglhZamuTbTl91XFYJTeddzAS6L1j3/P//hDTPEVNNqJGlDR
+BtVPeDH66HboL8cEkMtRCFULKpCHzb6RhojScaR1FWnoztKtYoFtVvbFwutOVBc8
+SkeWt01FGhn8ixLKjUfjlfJY6/YrbN5UULbWZs/DLT9deWlr8p68LdhG4WeVcgwV
+oZfJHPQUVq+/tzqwl/eqi/kcKhJqsZOFyo0yJK7qewlAw3dsVkVVBoX412dRrnIa
+yvhnj5G2XZXF2FJ/c5fWJmrzYvZIG2m0kzgwCwDRvygo3Qmb/GwlUSoILgx2aCAQ
+YmxE0UURB5UghQ0d+sENlaBsuP9doyZyMbgpDk8M5R86QJpIWaOvDSeCra/HWVJt
+93qp6aBgvwReDsKQL8Yrsrf7TA0xd/qYHMg9sIkFiO1ZkKoNTa0+sG97CbBaTa9Q
+DFW5jodrVjtTyq0i+kgSphXXU5VJ7mxWuj/wscqmA3v0tQ3q53zVzjHaZTR7KTZG
+/5AQMJ7XNTR8sutrrdde31/3JZVBTtOvnrBw7ezdKYYmlD8H+qGQoYi8TQV67Bge
+wtbrNvCH4FDD11Zz9eqq
+=KBYO
-----END PGP SIGNATURE-----
diff --git a/dev-libs/leveldb/leveldb-1.10.0.ebuild b/dev-libs/leveldb/leveldb-1.10.0.ebuild
deleted file mode 100644
index aef122687a73..000000000000
--- a/dev-libs/leveldb/leveldb-1.10.0.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.10.0.ebuild,v 1.3 2014/06/30 01:08:11 blueness Exp $
-
-EAPI=4
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="a fast key-value storage library written at Google"
-HOMEPAGE="http://code.google.com/p/leveldb/"
-SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~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_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
- export USE_SNAPPY=$(usex snappy)
- export USE_TCMALLOC=no
-}
-
-src_compile() {
- emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a
-}
-
-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
- dolib.a libmemenv.a
-}
diff --git a/dev-libs/leveldb/leveldb-1.11.0.ebuild b/dev-libs/leveldb/leveldb-1.11.0.ebuild
deleted file mode 100644
index 00529a42573a..000000000000
--- a/dev-libs/leveldb/leveldb-1.11.0.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.11.0.ebuild,v 1.2 2014/06/30 01:08:11 blueness Exp $
-
-EAPI=4
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="a fast key-value storage library written at Google"
-HOMEPAGE="http://code.google.com/p/leveldb/"
-SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~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_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
- export USE_SNAPPY=$(usex snappy)
- export USE_TCMALLOC=no
-}
-
-src_compile() {
- emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a
-}
-
-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
- dolib.a libmemenv.a
-}
diff --git a/dev-libs/leveldb/leveldb-1.12.0.ebuild b/dev-libs/leveldb/leveldb-1.12.0.ebuild
deleted file mode 100644
index 7b6707bb9247..000000000000
--- a/dev-libs/leveldb/leveldb-1.12.0.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.12.0.ebuild,v 1.2 2014/06/30 01:08:11 blueness Exp $
-
-EAPI=4
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="a fast key-value storage library written at Google"
-HOMEPAGE="http://code.google.com/p/leveldb/"
-SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~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_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
- export USE_SNAPPY=$(usex snappy)
- export USE_TCMALLOC=no
-}
-
-src_compile() {
- emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a
-}
-
-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
- dolib.a libmemenv.a
-}
diff --git a/dev-libs/leveldb/leveldb-1.13.0.ebuild b/dev-libs/leveldb/leveldb-1.13.0.ebuild
deleted file mode 100644
index a55ff719bdf4..000000000000
--- a/dev-libs/leveldb/leveldb-1.13.0.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.13.0.ebuild,v 1.2 2014/06/30 01:08:11 blueness Exp $
-
-EAPI=4
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="a fast key-value storage library written at Google"
-HOMEPAGE="http://code.google.com/p/leveldb/"
-SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~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_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
- export USE_SNAPPY=$(usex snappy)
- export USE_TCMALLOC=no
-}
-
-src_compile() {
- emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a
-}
-
-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
- dolib.a libmemenv.a
-}