/[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.3 - (hide annotations) (download)
Sun Jul 29 21:52:44 2012 UTC (2 years, 4 months ago) by ottxor
Branch: MAIN
Changes since 1.2: +2 -2 lines
added prefix keywords

(Portage version: 2.2.0_alpha120/cvs/Linux i686)

1 vapier 1.2 # Copyright 1999-2012 Gentoo Foundation
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 ottxor 1.3 # $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/pbzip2-1.1.6.ebuild,v 1.2 2012/07/15 18:24:16 vapier Exp $
4 vapier 1.1
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 ottxor 1.3 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
16 vapier 1.1 IUSE="static symlink"
17    
18 vapier 1.2 LIB_DEPEND="app-arch/bzip2[static-libs(+)]"
19     RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
20     DEPEND="${RDEPEND}
21     static? ( ${LIB_DEPEND} )"
22 vapier 1.1
23     src_prepare() {
24     epatch "${FILESDIR}"/${PN}-1.1.6-makefile.patch
25     tc-export CXX
26     use static && append-ldflags -static
27     }
28    
29     src_install() {
30     dobin pbzip2
31     dodoc AUTHORS ChangeLog README
32     doman pbzip2.1
33     dosym pbzip2 /usr/bin/pbunzip2
34    
35     if use symlink ; then
36     local s
37     for s in bzip2 bunzip2 bzcat ; do
38     dosym pbzip2 /usr/bin/${s}
39     done
40     fi
41     }

  ViewVC Help
Powered by ViewVC 1.1.20