summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/pigz/ChangeLog9
-rw-r--r--app-arch/pigz/pigz-2.2.4.ebuild37
2 files changed, 44 insertions, 2 deletions
diff --git a/app-arch/pigz/ChangeLog b/app-arch/pigz/ChangeLog
index 71517f92e4a4..27bb01ea8b96 100644
--- a/app-arch/pigz/ChangeLog
+++ b/app-arch/pigz/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-arch/pigz
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/pigz/ChangeLog,v 1.17 2011/12/18 20:56:54 spatz Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/pigz/ChangeLog,v 1.18 2012/03/26 05:44:20 radhermit Exp $
+
+*pigz-2.2.4 (26 Mar 2012)
+
+ 26 Mar 2012; Tim Harder <radhermit@gentoo.org> +pigz-2.2.4.ebuild:
+ Version bump (bug #408655).
*pigz-2.1.7 (18 Dec 2011)
diff --git a/app-arch/pigz/pigz-2.2.4.ebuild b/app-arch/pigz/pigz-2.2.4.ebuild
new file mode 100644
index 000000000000..ac2fa2f27369
--- /dev/null
+++ b/app-arch/pigz/pigz-2.2.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/pigz/pigz-2.2.4.ebuild,v 1.1 2012/03/26 05:44:20 radhermit Exp $
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+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 ~mips ~sparc ~x86 ~amd64-linux ~sparc64-solaris"
+IUSE="symlink test"
+
+RDEPEND="sys-libs/zlib"
+DEPEND="${RDEPEND}
+ test? ( app-arch/ncompress )"
+
+src_prepare() {
+ sed -i -e '1,3d' -e '5s/$(CC)/$(CC) $(LDFLAGS)/' Makefile || die
+ tc-export CC
+}
+
+src_install() {
+ dobin ${PN}
+ dosym /usr/bin/${PN} /usr/bin/un${PN}
+ dodoc README
+ doman ${PN}.1
+
+ if use symlink; then
+ dosym /usr/bin/${PN} /usr/bin/gzip
+ dosym /usr/bin/un${PN} /usr/bin/gunzip
+ fi
+}