summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-05-03 08:20:17 +0000
committerTim Harder <radhermit@gentoo.org>2014-05-03 08:20:17 +0000
commitda990ece0fc2bdd92c108760f94c6058e800b4f3 (patch)
treee8d850398c49cbbd683924ff01f52bb93e98f4d8 /app-arch/pbzip2
parentBump (diff)
downloadgentoo-2-da990ece0fc2bdd92c108760f94c6058e800b4f3.tar.gz
gentoo-2-da990ece0fc2bdd92c108760f94c6058e800b4f3.tar.bz2
gentoo-2-da990ece0fc2bdd92c108760f94c6058e800b4f3.zip
Version bump.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'app-arch/pbzip2')
-rw-r--r--app-arch/pbzip2/ChangeLog8
-rw-r--r--app-arch/pbzip2/files/pbzip2-1.1.9-makefile.patch29
-rw-r--r--app-arch/pbzip2/pbzip2-1.1.9.ebuild43
3 files changed, 79 insertions, 1 deletions
diff --git a/app-arch/pbzip2/ChangeLog b/app-arch/pbzip2/ChangeLog
index 2601f35155f8..978eefc590a9 100644
--- a/app-arch/pbzip2/ChangeLog
+++ b/app-arch/pbzip2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-arch/pbzip2
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/ChangeLog,v 1.120 2014/01/18 01:43:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/ChangeLog,v 1.121 2014/05/03 08:20:16 radhermit Exp $
+
+*pbzip2-1.1.9 (03 May 2014)
+
+ 03 May 2014; Tim Harder <radhermit@gentoo.org> +pbzip2-1.1.9.ebuild,
+ +files/pbzip2-1.1.9-makefile.patch:
+ Version bump.
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> pbzip2-1.1.8.ebuild:
Add arm64 love.
diff --git a/app-arch/pbzip2/files/pbzip2-1.1.9-makefile.patch b/app-arch/pbzip2/files/pbzip2-1.1.9-makefile.patch
new file mode 100644
index 000000000000..39d35a3e0a2b
--- /dev/null
+++ b/app-arch/pbzip2/files/pbzip2-1.1.9-makefile.patch
@@ -0,0 +1,29 @@
+--- pbzip2-1.1.9/Makefile
++++ pbzip2-1.1.9/Makefile
+@@ -3,7 +3,7 @@
+
+
+ # Compiler to use
+-CXX = g++
++#CXX = g++
+
+
+ # Thread-related flags
+@@ -17,7 +17,7 @@
+
+
+ # Optimization flags
+-CXXFLAGS = -O2
++#CXXFLAGS = -O2
+
+ #CXXFLAGS += -g -Wall
+ #CXXFLAGS += -ansi
+@@ -50,7 +50,7 @@
+
+
+ # Linker flags
+-LDFLAGS =
++#LDFLAGS =
+
+
+ # External libraries
diff --git a/app-arch/pbzip2/pbzip2-1.1.9.ebuild b/app-arch/pbzip2/pbzip2-1.1.9.ebuild
new file mode 100644
index 000000000000..da0f6e1715e2
--- /dev/null
+++ b/app-arch/pbzip2/pbzip2-1.1.9.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/pbzip2-1.1.9.ebuild,v 1.1 2014/05/03 08:20:16 radhermit Exp $
+
+EAPI=5
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="Parallel bzip2 (de)compressor using libbz2"
+HOMEPAGE="http://compression.ca/pbzip2/"
+SRC_URI="https://launchpad.net/pbzip2/${PV:0:3}/${PV}/+download/${P}.tar.gz"
+
+LICENSE="BZIP2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="static symlink"
+
+LIB_DEPEND="app-arch/bzip2[static-libs(+)]"
+RDEPEND="
+ !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+ symlink? ( !app-arch/lbzip2[symlink] )"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
+ tc-export CXX
+ use static && append-ldflags -static
+}
+
+src_install() {
+ dobin pbzip2
+ dodoc AUTHORS ChangeLog README
+ doman pbzip2.1
+ dosym pbzip2 /usr/bin/pbunzip2
+
+ if use symlink ; then
+ local s
+ for s in bzip2 bunzip2 bzcat ; do
+ dosym pbzip2 /usr/bin/${s}
+ done
+ fi
+}