1 |
vapier 08/06/21 06:05:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bzip2-1.0.5-r1.ebuild |
5 |
Log: |
6 |
Only move "important" bzip2 binaries to / #226175 by Alexander Skwar. |
7 |
(Portage version: 2.2_pre8/cvs/Linux 2.6.25 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.68 app-arch/bzip2/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/bzip2/ChangeLog?rev=1.68&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/bzip2/ChangeLog?rev=1.68&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/bzip2/ChangeLog?r1=1.67&r2=1.68 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-arch/bzip2/ChangeLog,v |
19 |
retrieving revision 1.67 |
20 |
retrieving revision 1.68 |
21 |
diff -u -r1.67 -r1.68 |
22 |
--- ChangeLog 21 Mar 2008 05:14:22 -0000 1.67 |
23 |
+++ ChangeLog 21 Jun 2008 06:05:23 -0000 1.68 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for app-arch/bzip2 |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/ChangeLog,v 1.67 2008/03/21 05:14:22 vapier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/ChangeLog,v 1.68 2008/06/21 06:05:23 vapier Exp $ |
29 |
+ |
30 |
+*bzip2-1.0.5-r1 (21 Jun 2008) |
31 |
+ |
32 |
+ 21 Jun 2008; Mike Frysinger <vapier@g.o> +bzip2-1.0.5-r1.ebuild: |
33 |
+ Only move "important" bzip2 binaries to / #226175 by Alexander Skwar. |
34 |
|
35 |
21 Mar 2008; Mike Frysinger <vapier@g.o> |
36 |
-files/bzip2-1.0.3-shared-largefile-support.patch, |
37 |
|
38 |
|
39 |
|
40 |
1.1 app-arch/bzip2/bzip2-1.0.5-r1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/bzip2/bzip2-1.0.5-r1.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/bzip2/bzip2-1.0.5-r1.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: bzip2-1.0.5-r1.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/bzip2-1.0.5-r1.ebuild,v 1.1 2008/06/21 06:05:23 vapier Exp $ |
50 |
|
51 |
inherit eutils multilib toolchain-funcs flag-o-matic |
52 |
|
53 |
DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux" |
54 |
HOMEPAGE="http://www.bzip.org/" |
55 |
SRC_URI="http://www.bzip.org/${PV}/${P}.tar.gz" |
56 |
|
57 |
LICENSE="BZIP2" |
58 |
SLOT="0" |
59 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
60 |
IUSE="static" |
61 |
|
62 |
DEPEND="" |
63 |
|
64 |
src_unpack() { |
65 |
unpack ${A} |
66 |
cd "${S}" |
67 |
epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch |
68 |
epatch "${FILESDIR}"/${PN}-1.0.4-saneso.patch |
69 |
epatch "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986 |
70 |
epatch "${FILESDIR}"/${PN}-1.0.2-progress.patch |
71 |
epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch |
72 |
epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365 |
73 |
sed -i -e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' Makefile || die "sed manpath" |
74 |
|
75 |
# - Generate symlinks instead of hardlinks |
76 |
# - pass custom variables to control libdir |
77 |
sed -i \ |
78 |
-e 's:ln -s -f $(PREFIX)/bin/:ln -s :' \ |
79 |
-e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \ |
80 |
Makefile || die "sed links" |
81 |
|
82 |
# fixup broken version stuff |
83 |
sed -i \ |
84 |
-e "s:1\.0\.4:${PV}:" \ |
85 |
bzip2.1 bzip2.txt Makefile-libbz2_so manual.{html,ps,xml} || die |
86 |
} |
87 |
|
88 |
src_compile() { |
89 |
local makeopts=" |
90 |
CC=$(tc-getCC) |
91 |
AR=$(tc-getAR) |
92 |
RANLIB=$(tc-getRANLIB) |
93 |
" |
94 |
emake ${makeopts} -f Makefile-libbz2_so all || die "Make failed libbz2" |
95 |
use static && append-flags -static |
96 |
emake LDFLAGS="${LDFLAGS}" ${makeopts} all || die "Make failed" |
97 |
} |
98 |
|
99 |
src_install() { |
100 |
emake PREFIX="${D}"/usr LIBDIR=$(get_libdir) install || die |
101 |
dodoc README* CHANGES bzip2.txt manual.* |
102 |
|
103 |
# move "important" bzip2 binaries to /bin and use the shared libbz2.so |
104 |
dodir /bin |
105 |
mv "${D}"/usr/bin/b{zip2,zcat,unzip2} "${D}"/bin/ || die |
106 |
dosym bzip2 /bin/bzcat |
107 |
dosym bzip2 /bin/bunzip2 |
108 |
into / |
109 |
if ! use static ; then |
110 |
newbin bzip2-shared bzip2 || die "dobin shared" |
111 |
fi |
112 |
|
113 |
dolib.so libbz2.so.${PV} || die "dolib shared" |
114 |
for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do |
115 |
dosym libbz2.so.${PV} /$(get_libdir)/${v} |
116 |
done |
117 |
gen_usr_ldscript libbz2.so |
118 |
} |
119 |
|
120 |
|
121 |
|
122 |
-- |
123 |
gentoo-commits@l.g.o mailing list |