diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-08-03 08:30:06 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-08-03 08:30:06 +0000 |
commit | bb84dbb0202a712d5dd26de848a663773bba7bcb (patch) | |
tree | d74783446cc5c78b01da026dc242b3b7672c3c6f /app-arch/pigz/pigz-2.2.5.ebuild | |
parent | Stable on amd64 wrt bug #419133 (diff) | |
download | gentoo-2-bb84dbb0202a712d5dd26de848a663773bba7bcb.tar.gz gentoo-2-bb84dbb0202a712d5dd26de848a663773bba7bcb.tar.bz2 gentoo-2-bb84dbb0202a712d5dd26de848a663773bba7bcb.zip |
Version bump. Add myself as maintainer.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'app-arch/pigz/pigz-2.2.5.ebuild')
-rw-r--r-- | app-arch/pigz/pigz-2.2.5.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app-arch/pigz/pigz-2.2.5.ebuild b/app-arch/pigz/pigz-2.2.5.ebuild new file mode 100644 index 000000000000..962e6192b54e --- /dev/null +++ b/app-arch/pigz/pigz-2.2.5.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.5.ebuild,v 1.1 2012/08/03 08:30:06 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 +} |