summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-06-30 13:10:42 +0200
committerMichał Górny <mgorny@gentoo.org>2017-06-30 13:19:14 +0200
commita3b242f50bba38fc238fdba40e5ddb47d4bbaba0 (patch)
treeac7f17616eb67d236f372fd77593574db4648ddb /app-arch/zpaq
parentapp-arch/pdlzip: Drop old (diff)
downloadgentoo-a3b242f50bba38fc238fdba40e5ddb47d4bbaba0.tar.gz
gentoo-a3b242f50bba38fc238fdba40e5ddb47d4bbaba0.tar.bz2
gentoo-a3b242f50bba38fc238fdba40e5ddb47d4bbaba0.zip
app-arch/zpaq: Bump to 7.15
Diffstat (limited to 'app-arch/zpaq')
-rw-r--r--app-arch/zpaq/Manifest1
-rw-r--r--app-arch/zpaq/zpaq-7.15.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/app-arch/zpaq/Manifest b/app-arch/zpaq/Manifest
index f882cb3e0a6a..1a551e053140 100644
--- a/app-arch/zpaq/Manifest
+++ b/app-arch/zpaq/Manifest
@@ -1 +1,2 @@
DIST zpaq713.zip 829863 SHA256 9120cf4fb1afdecea3ac4f690d7b0577f7cb004ca6b152856edd8ac444f0d919 SHA512 93ef758e9c6c13f4cc89b1969fce3630132c941ee5076959c3a7988b28e12530346c5b489837af9187937be35129bde0c9cf0e8aa8bf326799c893ef9fc74f5f WHIRLPOOL 494c3b9a6e6e0f50cecaf2630bcb4c9edd2433c128c13a1fc7a31d1695cbfbfadeda68f7fa2bd0023a0854d8548221ee52a1c218755b4a5a10b695db6b5a142d
+DIST zpaq715.zip 1000646 SHA256 e85ec2529eb0ba22ceaeabd461e55357ef099b80f61c14f377b429ea3d49d418 SHA512 4cddcc04dff5e9dceb7138cf9e82b718b696048368ff494339f877d93e4423ed7959c0cfb2e30ba7dcbcdd6bbd59fa1021ceaca6d51e3180d8034b7a3997c265 WHIRLPOOL 2d87e0e710ea3e19a599e21a17e69a0fa4441211a493be5ca114d5d69a063bc929606b687dc156ea04d35d8bb8df76dcc33c9b77940e0271a4a4f513bae5113a
diff --git a/app-arch/zpaq/zpaq-7.15.ebuild b/app-arch/zpaq/zpaq-7.15.ebuild
new file mode 100644
index 000000000000..e4c812dd9a58
--- /dev/null
+++ b/app-arch/zpaq/zpaq-7.15.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic pax-utils toolchain-funcs
+
+MY_P=${PN}${PV/./}
+DESCRIPTION="Journaling incremental deduplicating archiving compressor"
+HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
+SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
+
+LICENSE="Unlicense"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +jit"
+
+# perl for pod2man
+DEPEND="
+ app-arch/unzip
+ dev-lang/perl"
+
+S=${WORKDIR}
+
+src_compile() {
+ use debug || append-cppflags -DNDEBUG
+ use jit || append-cppflags -DNOJIT
+ emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}"
+}
+
+src_test() {
+ use jit && pax-mark m zpaq
+ default
+}
+
+src_install() {
+ emake install PREFIX="${ED%/}"/usr
+ use jit && pax-mark m "${ED%/}"/usr/bin/zpaq
+ einstalldocs
+}
+
+pkg_postinst() {
+ if ! has_version app-arch/zpaq-extras; then
+ elog "You may also want to install app-arch/zpaq-extras package which provides"
+ elog "few additional configs and preprocessors for use with zpaq."
+ fi
+}