app-arch/snappy: version bump
authorTim Harder <radhermit@gentoo.org>
Thu, 27 Aug 2015 03:50:56 +0000 (23:50 -0400)
committerTim Harder <radhermit@gentoo.org>
Thu, 27 Aug 2015 03:52:28 +0000 (23:52 -0400)
app-arch/snappy/Manifest
app-arch/snappy/snappy-1.1.3.ebuild [new file with mode: 0644]

index f81a04a6fc79dc9ddb552faf8458b5546955b061..b2fb604430e4776819c7ece5f4181c2aaf810c9d 100644 (file)
@@ -1,2 +1,3 @@
 DIST snappy-1.1.1.tar.gz 1777992 SHA256 d79f04a41b0b513a014042a4365ec999a1ad5575e10d5e5578720010cb62fab3 SHA512 36b6a1934579dd82a67bcc46626f8dbe9d24d53fe2ca1eca2982d2091054241c9797ada0d4657c484ebc82e7ec11069fd9cd83aac61f4aa1a530167d899041f3 WHIRLPOOL f95ae11130ddd32123e202d6a179b04a5424593937ada0baee9bd17fbb980a9d2d0242df7eb48d795f5d98879b7b025070008852ad7324bc850c0ab0b245612e
 DIST snappy-1.1.2.tar.gz 1485435 SHA256 f9d8fe1c85494f62dbfa3efe8e73bc23d8dec7a254ff7fe09ec4b0ebfc586af4 SHA512 da0e80528dfc815d765347c60dc5f14bc7fb882cc6894b87d3a43dec1a127cf8bcfe46e6cb93e130790c0ebd67368a1042500d9080f844441803c1b69c3cc07e WHIRLPOOL a9cf520cc578a0a63ebb7fb127428b50d282cdf2448938ad88349f775e21b3dd27f2c6843f86dd749d66e9df5e29094bc5c67032f0219932fec69f882ec91246
+DIST snappy-1.1.3.tar.gz 1509026 SHA256 2f1e82adf0868c9e26a5a7a3115111b6da7e432ddbac268a7ca2fae2a247eef3 SHA512 4c4f47c657a072989179be9df0e5e98d14f4a67c27ec7ae0e5a15d14289a75d4e266bc6c5c89723f3e9860408ffcc7138a815f8ad9299407c4a1946fc00ab5bf WHIRLPOOL 97f82d1439973582f0ba3fde43ba2ee2c23b2512e0ee426b9e372fbfbba87921355c1f6bf0bf80671d7c4da26a23d480508cb7a188e414b9cb5d95996bfabe39
diff --git a/app-arch/snappy/snappy-1.1.3.ebuild b/app-arch/snappy/snappy-1.1.3.ebuild
new file mode 100644 (file)
index 0000000..7772752
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+AUTOTOOLS_AUTO_DEPEND="yes"
+inherit eutils autotools-multilib
+
+DESCRIPTION="A high-speed compression/decompression library by Google"
+HOMEPAGE="https://github.com/google/snappy"
+SRC_URI="https://github.com/google/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+src_prepare() {
+       # Avoid automagic lzo and gzip by not checking for it
+       sed -i '/^CHECK_EXT_COMPRESSION_LIB/d' configure.ac || die
+
+       # don't install unwanted files
+       sed -i 's/COPYING INSTALL//' Makefile.am || die
+
+       eautoreconf
+}
+
+multilib_src_configure() {
+       ECONF_SOURCE=${S} \
+       econf \
+               --docdir='$(datarootdir)'/doc/${PF} \
+               --without-gflags \
+               --disable-gtest \
+               $(use_enable static-libs static)
+}
+
+multilib_src_install_all() {
+       prune_libtool_files
+}