changeset 116:8297e50e2a90

pigz is a multithreaded gzip
author holger@hoho.dyndns.org
date Sat, 07 Mar 2009 08:15:02 +0100
parents 0af76f5d37e9
children ef3299334bd6
files app-arch/pigz/Manifest app-arch/pigz/pigz-2.1.4.ebuild
diffstat 2 files changed, 32 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app-arch/pigz/Manifest	Sat Mar 07 08:15:02 2009 +0100
@@ -0,0 +1,2 @@
+DIST pigz-2.1.4.tar.gz 35951 RMD160 9c6651d5b75ac9bb67e66420c7b0c3bfbf4b1b15 SHA1 72f639ffb296c6a5dd7b1a45ed2620a5834d55e1 SHA256 2593933f34a8a8634c4dcbbb3ef199e6d38e4b044c3d1ba40ae1d337c49c30e2
+EBUILD pigz-2.1.4.ebuild 514 RMD160 5252ce1952dae74f49c01d5e78b01a3e4b5c14ba SHA1 88a9d881d0e96b49f6409c14df3dfd533de80a99 SHA256 b9db5adfc607d204a3c26d26db05e0dd1fe6d48f9885aefa00a509d3f0559340
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app-arch/pigz/pigz-2.1.4.ebuild	Sat Mar 07 08:15:02 2009 +0100
@@ -0,0 +1,30 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Standard GNU compressor"
+HOMEPAGE="http://www.zlib.net/pigz/"
+SRC_URI="http://www.zlib.net/pigz/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+	sys-libs/zlib"
+
+src_unpack() {
+	unpack ${A}
+	cd "${S}"
+}
+
+src_compile() {
+	emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
+}
+
+src_install() {
+	dobin pigz || die
+}