summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-05-24 10:53:56 +0200
committerMichał Górny <mgorny@gentoo.org>2016-05-24 10:57:43 +0200
commit40d1b5b0a2d7f79753f6eb021442103ded7d2d41 (patch)
tree5d3eb093acceb9ba1db23ea6d84f947459e51be5 /app-arch
parentapp-arch/libzpaq: bump to 7.13, use new upstream Makefile and SONAME (diff)
downloadgentoo-40d1b5b0a2d7f79753f6eb021442103ded7d2d41.tar.gz
gentoo-40d1b5b0a2d7f79753f6eb021442103ded7d2d41.tar.bz2
gentoo-40d1b5b0a2d7f79753f6eb021442103ded7d2d41.zip
app-arch/zpaq: Bump to 7.13
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/zpaq/Manifest1
-rw-r--r--app-arch/zpaq/zpaq-7.13.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/app-arch/zpaq/Manifest b/app-arch/zpaq/Manifest
index ac15024e8b59..5e27e4db74c6 100644
--- a/app-arch/zpaq/Manifest
+++ b/app-arch/zpaq/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/zpaq/zpaq-7.13.ebuild b/app-arch/zpaq/zpaq-7.13.ebuild
new file mode 100644
index 000000000000..ed726ad5b7cb
--- /dev/null
+++ b/app-arch/zpaq/zpaq-7.13.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit 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="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="~app-arch/libzpaq-${PV}"
+# perl for pod2man
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ dev-lang/perl"
+
+S=${WORKDIR}
+
+src_compile() {
+ emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" zpaq.o zpaq.1
+ # link manually to use shared library
+ emake -f /dev/null CC="$(tc-getCXX)" LDLIBS="-lzpaq -pthread" zpaq
+}
+
+src_test() {
+ # no idea why the 'test' needs that
+ touch libzpaq.so libzpaq.so.1 || die
+ default
+}
+
+src_install() {
+ dobin zpaq
+ doman zpaq.1
+}
+
+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
+}