1 |
spatz 10/02/09 20:03:12 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pbzip2-1.0.5-r3.ebuild |
5 |
Log: |
6 |
Add patch to fix command line handling, bug 302757. Clean old patches. |
7 |
(Portage version: 2.2_rc62/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.81 app-arch/pbzip2/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/pbzip2/ChangeLog?rev=1.81&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/pbzip2/ChangeLog?rev=1.81&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/pbzip2/ChangeLog?r1=1.80&r2=1.81 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-arch/pbzip2/ChangeLog,v |
19 |
retrieving revision 1.80 |
20 |
retrieving revision 1.81 |
21 |
diff -u -r1.80 -r1.81 |
22 |
--- ChangeLog 25 Jan 2010 19:18:42 -0000 1.80 |
23 |
+++ ChangeLog 9 Feb 2010 20:03:12 -0000 1.81 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for app-arch/pbzip2 |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/ChangeLog,v 1.80 2010/01/25 19:18:42 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/ChangeLog,v 1.81 2010/02/09 20:03:12 spatz Exp $ |
29 |
+ |
30 |
+*pbzip2-1.0.5-r3 (09 Feb 2010) |
31 |
+ |
32 |
+ 09 Feb 2010; Dror Levin <spatz@g.o> |
33 |
+ -files/pbzip2-1.0.2-uclibc.patch, -files/pbzip2-1.0.3-uclibc.patch, |
34 |
+ +pbzip2-1.0.5-r3.ebuild, +files/pbzip2-1.0.5-fix-stdout-optparse.patch: |
35 |
+ Add patch to fix command line handling, bug 302757. Clean old patches. |
36 |
|
37 |
25 Jan 2010; Raúl Porcel <armin76@g.o> pbzip2-1.0.5-r2.ebuild: |
38 |
alpha/arm/ia64/m68k/s390/sh stable wrt #300113 |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-arch/pbzip2/pbzip2-1.0.5-r3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/pbzip2/pbzip2-1.0.5-r3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/pbzip2/pbzip2-1.0.5-r3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: pbzip2-1.0.5-r3.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/pbzip2-1.0.5-r3.ebuild,v 1.1 2010/02/09 20:03:12 spatz Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
|
55 |
inherit multilib eutils |
56 |
|
57 |
DESCRIPTION="parallel bzip2 (de)compressor using libbz2" |
58 |
HOMEPAGE="http://compression.ca/pbzip2/" |
59 |
SRC_URI="http://compression.ca/${PN}/${P}.tar.gz" |
60 |
|
61 |
LICENSE="PBZIP2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
64 |
IUSE="static symlink" |
65 |
|
66 |
DEPEND="app-arch/bzip2" |
67 |
RDEPEND="${DEPEND}" |
68 |
|
69 |
src_prepare() { |
70 |
sed -e 's:^CFLAGS = .*$:#&:g' -e 's:g++:$(CXX):g' -i Makefile || die 'sed failed' |
71 |
epatch "${FILESDIR}"/${P}-ldflags.patch |
72 |
epatch "${FILESDIR}"/${P}-fix-stdout-optparse.patch |
73 |
} |
74 |
|
75 |
src_compile() { |
76 |
tc-export CXX |
77 |
if use static ; then |
78 |
cp -f /usr/$(get_libdir)/libbz2.a "${S}" |
79 |
emake pbzip2-static || die "Failed to build" |
80 |
else |
81 |
emake pbzip2 || die "Failed to build" |
82 |
fi |
83 |
} |
84 |
|
85 |
src_install() { |
86 |
dobin pbzip2 || die "Failed to install" |
87 |
dodoc AUTHORS ChangeLog README |
88 |
doman pbzip2.1 || die "Failed to install man page" |
89 |
dosym /usr/bin/pbzip2 /usr/bin/pbunzip2 |
90 |
|
91 |
if use symlink; then |
92 |
dosym /usr/bin/pbzip2 /usr/bin/bzip2 |
93 |
dosym /usr/bin/pbzip2 /usr/bin/bunzip2 |
94 |
dosym /usr/bin/pbzip2 /usr/bin/bzcat |
95 |
fi |
96 |
} |