summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-01-13 05:08:20 +0000
committerJeroen Roovers <jer@gentoo.org>2009-01-13 05:08:20 +0000
commit07243fe43fad6bfa76408dc476f6e0eca3d59bde (patch)
treef9a8c764e06ca997d02f803fe3b8881f46e68989 /app-arch
parentBump. Drop USE=paste64, which is now enabled by default and can be disabled a... (diff)
downloadgentoo-2-07243fe43fad6bfa76408dc476f6e0eca3d59bde.tar.gz
gentoo-2-07243fe43fad6bfa76408dc476f6e0eca3d59bde.tar.bz2
gentoo-2-07243fe43fad6bfa76408dc476f6e0eca3d59bde.zip
Version bump.
(Portage version: 2.2_rc20/cvs/Linux 2.6.25-gentoo-r7-JeR i686)
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/pbzip2/ChangeLog9
-rw-r--r--app-arch/pbzip2/pbzip2-1.0.5.ebuild39
2 files changed, 46 insertions, 2 deletions
diff --git a/app-arch/pbzip2/ChangeLog b/app-arch/pbzip2/ChangeLog
index ff4e78314659..e1c197828fca 100644
--- a/app-arch/pbzip2/ChangeLog
+++ b/app-arch/pbzip2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-arch/pbzip2
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/ChangeLog,v 1.53 2008/12/22 05:11:40 jer Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/ChangeLog,v 1.54 2009/01/13 05:08:20 jer Exp $
+
+*pbzip2-1.0.5 (13 Jan 2009)
+
+ 13 Jan 2009; Jeroen Roovers <jer@gentoo.org> +pbzip2-1.0.5.ebuild:
+ Version bump.
*pbzip2-1.0.4 (22 Dec 2008)
diff --git a/app-arch/pbzip2/pbzip2-1.0.5.ebuild b/app-arch/pbzip2/pbzip2-1.0.5.ebuild
new file mode 100644
index 000000000000..e30111990efd
--- /dev/null
+++ b/app-arch/pbzip2/pbzip2-1.0.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/pbzip2-1.0.5.ebuild,v 1.1 2009/01/13 05:08:20 jer Exp $
+
+inherit multilib eutils
+
+DESCRIPTION="parallel bzip2 (de)compressor using libbz2"
+HOMEPAGE="http://compression.ca/pbzip2/"
+SRC_URI="http://compression.ca/${PN}/${P}.tar.gz"
+
+LICENSE="PBZIP2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="static"
+
+DEPEND="app-arch/bzip2"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ sed -e 's:^CFLAGS = .*$:#&:g' -e 's:g++:$(CXX):g' -i ${P}/Makefile || die
+}
+
+src_compile() {
+ tc-export CXX
+ if use static ; then
+ cp -f /usr/$(get_libdir)/libbz2.a "${S}"
+ emake pbzip2-static || die "Failed to build"
+ else
+ emake pbzip2 || die "Failed to build"
+ fi
+}
+
+src_install() {
+ dobin pbzip2 || die "Failed to install"
+ dodoc AUTHORS ChangeLog README
+ doman pbzip2.1 || die "Failed to install man page"
+ dosym /usr/bin/pbzip2 /usr/bin/pbunzip2
+}