app-arch/zpaq: Bump to 7.15

This commit is contained in:
Michał Górny
2017-06-30 13:10:42 +02:00
parent 53e5da9e43
commit a3b242f50b
2 changed files with 48 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST zpaq713.zip 829863 SHA256 9120cf4fb1afdecea3ac4f690d7b0577f7cb004ca6b152856edd8ac444f0d919 SHA512 93ef758e9c6c13f4cc89b1969fce3630132c941ee5076959c3a7988b28e12530346c5b489837af9187937be35129bde0c9cf0e8aa8bf326799c893ef9fc74f5f WHIRLPOOL 494c3b9a6e6e0f50cecaf2630bcb4c9edd2433c128c13a1fc7a31d1695cbfbfadeda68f7fa2bd0023a0854d8548221ee52a1c218755b4a5a10b695db6b5a142d
DIST zpaq715.zip 1000646 SHA256 e85ec2529eb0ba22ceaeabd461e55357ef099b80f61c14f377b429ea3d49d418 SHA512 4cddcc04dff5e9dceb7138cf9e82b718b696048368ff494339f877d93e4423ed7959c0cfb2e30ba7dcbcdd6bbd59fa1021ceaca6d51e3180d8034b7a3997c265 WHIRLPOOL 2d87e0e710ea3e19a599e21a17e69a0fa4441211a493be5ca114d5d69a063bc929606b687dc156ea04d35d8bb8df76dcc33c9b77940e0271a4a4f513bae5113a

View File

@@ -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
}