diff options
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/pbzip2/pbzip2-0.9.6.ebuild | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/app-arch/pbzip2/pbzip2-0.9.6.ebuild b/app-arch/pbzip2/pbzip2-0.9.6.ebuild index a8e063c6a1b4..bafd79ef8900 100644 --- a/app-arch/pbzip2/pbzip2-0.9.6.ebuild +++ b/app-arch/pbzip2/pbzip2-0.9.6.ebuild @@ -1,8 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/pbzip2-0.9.6.ebuild,v 1.6 2006/07/27 14:33:47 wolf31o2 Exp $ - -inherit eutils +# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/pbzip2-0.9.6.ebuild,v 1.7 2006/08/06 18:21:59 vapier Exp $ DESCRIPTION="A parallel version of BZIP2" HOMEPAGE="http://compression.ca/pbzip2/" @@ -10,19 +8,10 @@ SRC_URI="http://compression.ca/${PN}/${P}.tar.gz" LICENSE="PBZIP2" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ppc ~ppc-macos ~ppc64 ~s390 sparc x86" +KEYWORDS="alpha amd64 arm ~hppa ia64 m68k ~mips ppc ~ppc-macos ~ppc64 s390 sh sparc x86" IUSE="static" -DEPEND="virtual/libc - app-arch/bzip2" - -pkg_setup() { - if use static - then - built_with_use app-arch/bzip2 static || \ - die "You must compile bzip2 with USE=static" - fi -} +DEPEND="app-arch/bzip2" src_unpack() { unpack ${A} @@ -30,8 +19,7 @@ src_unpack() { } src_compile() { - if use static - then + if use static ; then cp -f /usr/$(get_libdir)/libbz2.a ${S} emake pbzip2-static || die "Failed to build" else @@ -41,6 +29,6 @@ src_compile() { src_install() { dobin pbzip2 || die "Failed to install" - dodoc AUTHORS ChangeLog README || Die "Failed to install docs" + dodoc AUTHORS ChangeLog README doman pbzip2.1 || die "Failed to install man page" } |