/[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.6 - (show annotations) (download)
Sun May 19 06:26:46 2013 UTC (17 months, 1 week ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha175/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

1 # Copyright 1999-2012 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.6.ebuild,v 1.5 2012/11/04 16:49:43 ulm 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="BZIP2"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
16 IUSE="static symlink"
17
18 LIB_DEPEND="app-arch/bzip2[static-libs(+)]"
19 RDEPEND="
20 !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
21 symlink? ( !app-arch/lbzip2[symlink] )"
22 DEPEND="${RDEPEND}
23 static? ( ${LIB_DEPEND} )"
24
25 src_prepare() {
26 epatch "${FILESDIR}"/${PN}-1.1.6-makefile.patch
27 tc-export CXX
28 use static && append-ldflags -static
29 }
30
31 src_install() {
32 dobin pbzip2
33 dodoc AUTHORS ChangeLog README
34 doman pbzip2.1
35 dosym pbzip2 /usr/bin/pbunzip2
36
37 if use symlink ; then
38 local s
39 for s in bzip2 bunzip2 bzcat ; do
40 dosym pbzip2 /usr/bin/${s}
41 done
42 fi
43 }

  ViewVC Help
Powered by ViewVC 1.1.20