summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-05-24 10:24:26 +0200
committerMichał Górny <mgorny@gentoo.org>2016-05-24 10:57:43 +0200
commitba4a052671f2f623f244ea1ce5256f4e3feff60d (patch)
tree5a3c0133044b1ce917730567950c10fbc861b73d /app-arch
parentpackage.mask: Mask app-arch/zpipe for removal (diff)
downloadgentoo-ba4a052671f2f623f244ea1ce5256f4e3feff60d.tar.gz
gentoo-ba4a052671f2f623f244ea1ce5256f4e3feff60d.tar.bz2
gentoo-ba4a052671f2f623f244ea1ce5256f4e3feff60d.zip
app-arch/libzpaq: bump to 7.13, use new upstream Makefile and SONAME
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/libzpaq/Manifest1
-rw-r--r--app-arch/libzpaq/libzpaq-7.13.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/app-arch/libzpaq/Manifest b/app-arch/libzpaq/Manifest
index ac15024e8b59..5e27e4db74c6 100644
--- a/app-arch/libzpaq/Manifest
+++ b/app-arch/libzpaq/Manifest
@@ -1,2 +1,3 @@
DIST zpaq653.zip 536808 SHA256 295e4e491958c222bf51a30d36eb2d013a6f427422b91ee9d5be7f1c332590b3 SHA512 7999f0e35e8b0f46b586e5a0f5346b3501f21ab39fa25d57b9bdf5b87eee16d9e846f6b60fc7c447195bbdd0345ec4e220606d8c100167611231afe36f5558ed WHIRLPOOL 9d66fc51d2d48df1853c68686a65bc492756e11378c8e9075d6c976f11e69941fe52405ce66a57497fcde0524879ce04ef0430df3ff84da28e7d2f9d2cc70034
DIST zpaq704.zip 630426 SHA256 21b595f8452b32c780f6ff29e0fc716cdf3595338774e1f72d4d4b5df212da39 SHA512 2655febd6e1352858c4daa7abe743c77e2b4b554b6c5961e1dde2c4011b1b4dd647decf60b7a86585eb5a1606253789afb85551923c6f542cf31dfecd984eaaa WHIRLPOOL 8a4ff4dd0c9e53d2f4a85c600537d83d7876f24ba4d4371d5a647d873c5ecc92ed80626f7abc3127f62346a1ffa69bc88172366a4fe4e0ea4236086c55a5ee72
+DIST zpaq713.zip 829863 SHA256 9120cf4fb1afdecea3ac4f690d7b0577f7cb004ca6b152856edd8ac444f0d919 SHA512 93ef758e9c6c13f4cc89b1969fce3630132c941ee5076959c3a7988b28e12530346c5b489837af9187937be35129bde0c9cf0e8aa8bf326799c893ef9fc74f5f WHIRLPOOL 494c3b9a6e6e0f50cecaf2630bcb4c9edd2433c128c13a1fc7a31d1695cbfbfadeda68f7fa2bd0023a0854d8548221ee52a1c218755b4a5a10b695db6b5a142d
diff --git a/app-arch/libzpaq/libzpaq-7.13.ebuild b/app-arch/libzpaq/libzpaq-7.13.ebuild
new file mode 100644
index 000000000000..270a8d15cd93
--- /dev/null
+++ b/app-arch/libzpaq/libzpaq-7.13.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+MY_P=zpaq${PV/./}
+DESCRIPTION="Library to compress files in the ZPAQ format"
+HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
+SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
+
+LICENSE="zpaq"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +jit"
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+S=${WORKDIR}
+
+src_compile() {
+ use debug || append-cppflags -DNDEBUG
+ use jit || append-cppflags -DNOJIT
+ emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" libzpaq.so
+}
+
+src_test() {
+ :
+}
+
+src_install() {
+ # there's a common 'install' target for lib and cli
+ dolib libzpaq.so*
+ doheader libzpaq.h
+}