summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-10-04 12:25:04 -0400
committerTim Harder <radhermit@gentoo.org>2016-10-04 12:25:32 -0400
commitf22327936bf994e1dd18f2c7caca8d296351fc49 (patch)
tree73b20b884b5bf05506906927f249ad6c8248289e /app-arch/pigz
parentwww-servers/uwsgi: version bump with fixes for #589012 #594230 (diff)
downloadgentoo-f22327936bf994e1dd18f2c7caca8d296351fc49.tar.gz
gentoo-f22327936bf994e1dd18f2c7caca8d296351fc49.tar.bz2
gentoo-f22327936bf994e1dd18f2c7caca8d296351fc49.zip
app-arch/pigz: version bump to 2.3.4
Diffstat (limited to 'app-arch/pigz')
-rw-r--r--app-arch/pigz/Manifest1
-rw-r--r--app-arch/pigz/pigz-2.3.4.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/app-arch/pigz/Manifest b/app-arch/pigz/Manifest
index 34a52c838fde..d9ebad12f567 100644
--- a/app-arch/pigz/Manifest
+++ b/app-arch/pigz/Manifest
@@ -1 +1,2 @@
DIST pigz-2.3.3.tar.gz 92787 SHA256 4e8b67b432ce7907575a549f3e1cac4709781ba0f6b48afea9f59369846b509c SHA512 6fa5ee1c03b4a8dc4b191acaa337b6f30132503ff413300214e1e6b27dd70590b53334be3fa880916f6ea4498beb8cf7c411a5954fdf188475882c44618c663c WHIRLPOOL 1eb3ea11a0bbb0bd837a1ed12a63b3d57d8ae9c127e8407f9b82b1aad8a41820abf1d429c513f4df3f56fdc3c842caab07a5c904207b2244e4215a6654ef5392
+DIST pigz-2.3.4.tar.gz 105412 SHA256 6f031fa40bc15b1d80d502ff91f83ba14f4b079e886bfb83221374f7bf5c8f9a SHA512 c0d5da6c5b2da50841aaf3958d5694edca0356d4bef211175e9f2f17e0c815e80b2e62bb39c7761c8f83fdaa84ca7373e130cdb0fa2c96f91c397556cbf7ba2a WHIRLPOOL 971bb8b9c4504b67af0793f7eb199a2abbdb62a0151fed43ec4a50fb9e325a8c6e331bc7a8e417f633ae395e88865e82f4b15b9cba5534178776b18ffd8261e2
diff --git a/app-arch/pigz/pigz-2.3.4.ebuild b/app-arch/pigz/pigz-2.3.4.ebuild
new file mode 100644
index 000000000000..cc1397ab7b19
--- /dev/null
+++ b/app-arch/pigz/pigz-2.3.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="A parallel implementation of gzip"
+HOMEPAGE="http://www.zlib.net/pigz/"
+SRC_URI="http://www.zlib.net/pigz/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~sparc ~x86 ~amd64-linux ~ppc-macos ~sparc64-solaris"
+IUSE="static symlink test"
+
+LIB_DEPEND="sys-libs/zlib[static-libs(+)]"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )
+ test? ( app-arch/ncompress )"
+
+src_compile() {
+ use static && append-ldflags -static
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin ${PN}
+ dosym ${PN} /usr/bin/un${PN}
+ dodoc README
+ doman ${PN}.1
+
+ if use symlink; then
+ dosym ${PN} /usr/bin/gzip
+ dosym un${PN} /usr/bin/gunzip
+ fi
+}