annotate app-arch/pigz/pigz-2.1.4.ebuild @ 116:8297e50e2a90

pigz is a multithreaded gzip
author holger@hoho.dyndns.org
date Sat, 07 Mar 2009 08:15:02 +0100
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
116
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
1 # Copyright 1999-2008 Gentoo Foundation
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
3 # $Header: $
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
4
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
5 inherit eutils flag-o-matic
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
6
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
7 DESCRIPTION="Standard GNU compressor"
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
8 HOMEPAGE="http://www.zlib.net/pigz/"
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
9 SRC_URI="http://www.zlib.net/pigz/${P}.tar.gz"
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
10
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
11 LICENSE="GPL-2"
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
12 SLOT="0"
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
13 KEYWORDS="~x86"
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
14
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
15 RDEPEND=""
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
16 DEPEND="${RDEPEND}
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
17 sys-libs/zlib"
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
18
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
19 src_unpack() {
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
20 unpack ${A}
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
21 cd "${S}"
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
22 }
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
23
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
24 src_compile() {
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
25 emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
26 }
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
27
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
28 src_install() {
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
29 dobin pigz || die
8297e50e2a90 pigz is a multithreaded gzip
holger@hoho.dyndns.org
parents:
diff changeset
30 }