summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDror Levin <spatz@gentoo.org>2011-08-02 19:17:04 +0000
committerDror Levin <spatz@gentoo.org>2011-08-02 19:17:04 +0000
commita7111f91e9dc50ca18f4a508e6bb9bd90d378a9f (patch)
tree6508f6dfd7a84292fdb48054b2533c38f1d20a26 /app-arch/pbzip2
parentFix tests by prepackaging the test data, bug 366477 (diff)
downloadgentoo-2-a7111f91e9dc50ca18f4a508e6bb9bd90d378a9f.tar.gz
gentoo-2-a7111f91e9dc50ca18f4a508e6bb9bd90d378a9f.tar.bz2
gentoo-2-a7111f91e9dc50ca18f4a508e6bb9bd90d378a9f.zip
Version bump, bug 377239.
(Portage version: 2.2.0_alpha49/cvs/Linux x86_64)
Diffstat (limited to 'app-arch/pbzip2')
-rw-r--r--app-arch/pbzip2/ChangeLog7
-rw-r--r--app-arch/pbzip2/pbzip2-1.1.5.ebuild46
2 files changed, 52 insertions, 1 deletions
diff --git a/app-arch/pbzip2/ChangeLog b/app-arch/pbzip2/ChangeLog
index 43ba634467d8..4693041b00f8 100644
--- a/app-arch/pbzip2/ChangeLog
+++ b/app-arch/pbzip2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-arch/pbzip2
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/ChangeLog,v 1.95 2011/05/17 21:46:52 spatz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/ChangeLog,v 1.96 2011/08/02 19:17:04 spatz Exp $
+
+*pbzip2-1.1.5 (02 Aug 2011)
+
+ 02 Aug 2011; Dror Levin <spatz@gentoo.org> +pbzip2-1.1.5.ebuild:
+ Version bump, bug 377239.
*pbzip2-1.1.4 (17 May 2011)
diff --git a/app-arch/pbzip2/pbzip2-1.1.5.ebuild b/app-arch/pbzip2/pbzip2-1.1.5.ebuild
new file mode 100644
index 000000000000..ae846a1dd127
--- /dev/null
+++ b/app-arch/pbzip2/pbzip2-1.1.5.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/pbzip2-1.1.5.ebuild,v 1.1 2011/08/02 19:17:04 spatz Exp $
+
+EAPI=4
+
+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 ~x86-fbsd"
+IUSE="static symlink"
+
+DEPEND="app-arch/bzip2"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.1.2-makefile.patch
+ tc-export CXX
+}
+
+src_compile() {
+ 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 || die
+ doman pbzip2.1 || die "Failed to install man page"
+ dosym /usr/bin/pbzip2 /usr/bin/pbunzip2
+
+ if use symlink; then
+ dosym /usr/bin/pbzip2 /usr/bin/bzip2
+ dosym /usr/bin/pbzip2 /usr/bin/bunzip2
+ dosym /usr/bin/pbzip2 /usr/bin/bzcat
+ fi
+}