/[gentoo-x86]/app-arch/pbzip2/pbzip2-1.1.6.ebuild
Gentoo

Contents of /app-arch/pbzip2/pbzip2-1.1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Nov 2 16:13:47 2011 UTC (3 years ago) by vapier
Branch: MAIN
Version bump.

(Portage version: 2.2.0_alpha71/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/pbzip2-1.1.5.ebuild,v 1.7 2011/10/23 12:50:49 armin76 Exp $
4
5 EAPI=4
6
7 inherit flag-o-matic eutils
8
9 DESCRIPTION="Parallel bzip2 (de)compressor using libbz2"
10 HOMEPAGE="http://compression.ca/pbzip2/"
11 SRC_URI="http://compression.ca/${PN}/${P}.tar.gz"
12
13 LICENSE="PBZIP2"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
16 IUSE="static symlink"
17
18 DEPEND="app-arch/bzip2"
19 RDEPEND="${DEPEND}"
20
21 src_prepare() {
22 epatch "${FILESDIR}"/${PN}-1.1.6-makefile.patch
23 tc-export CXX
24 use static && append-ldflags -static
25 }
26
27 src_install() {
28 dobin pbzip2
29 dodoc AUTHORS ChangeLog README
30 doman pbzip2.1
31 dosym pbzip2 /usr/bin/pbunzip2
32
33 if use symlink ; then
34 local s
35 for s in bzip2 bunzip2 bzcat ; do
36 dosym pbzip2 /usr/bin/${s}
37 done
38 fi
39 }

  ViewVC Help
Powered by ViewVC 1.1.20