Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/zlib: ChangeLog zlib-1.2.5-r1.ebuild
Date: Sun, 25 Apr 2010 22:58:10
Message-Id: 20100425224111.94B382C063@corvid.gentoo.org
1 flameeyes 10/04/25 22:41:11
2
3 Modified: ChangeLog
4 Added: zlib-1.2.5-r1.ebuild
5 Log:
6 Revision bump, add patch from bug #316377.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.79 sys-libs/zlib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/zlib/ChangeLog?rev=1.79&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/zlib/ChangeLog?rev=1.79&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/zlib/ChangeLog?r1=1.78&r2=1.79
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-libs/zlib/ChangeLog,v
19 retrieving revision 1.78
20 retrieving revision 1.79
21 diff -u -r1.78 -r1.79
22 --- ChangeLog 20 Apr 2010 20:34:54 -0000 1.78
23 +++ ChangeLog 25 Apr 2010 22:41:11 -0000 1.79
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-libs/zlib
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/ChangeLog,v 1.78 2010/04/20 20:34:54 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/ChangeLog,v 1.79 2010/04/25 22:41:11 flameeyes Exp $
29 +
30 +*zlib-1.2.5-r1 (25 Apr 2010)
31 +
32 + 25 Apr 2010; Diego E. Pettenò <flameeyes@g.o>
33 + +zlib-1.2.5-r1.ebuild, +files/zlib-1.2.5-lfs-decls.patch:
34 + Revision bump, add patch from bug #316377.
35
36 20 Apr 2010; Mike Frysinger <vapier@g.o> zlib-1.2.5.ebuild:
37 Drop now unnecessary visibility patch #316343 by Alon Bar-Lev.
38
39
40
41 1.1 sys-libs/zlib/zlib-1.2.5-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/zlib/zlib-1.2.5-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/zlib/zlib-1.2.5-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: zlib-1.2.5-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.2.5-r1.ebuild,v 1.1 2010/04/25 22:41:11 flameeyes Exp $
51
52 inherit eutils toolchain-funcs
53
54 DESCRIPTION="Standard (de)compression library"
55 HOMEPAGE="http://www.zlib.net/"
56 SRC_URI="http://www.gzip.org/zlib/${P}.tar.bz2
57 http://www.zlib.net/${P}.tar.bz2"
58
59 LICENSE="ZLIB"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
62 IUSE=""
63
64 RDEPEND="!<dev-libs/libxml2-2.7.7" #309623
65
66 src_unpack() {
67 unpack ${A}
68 cd "${S}"
69 epatch "${FILESDIR}"/${PN}-1.2.3-mingw-implib.patch #288212
70 # trust exit status of the compiler rather than stderr #55434
71 # -if test "`(...) 2>&1`" = ""; then
72 # +if (...) 2>/dev/null; then
73 sed -i 's|\<test "`\([^"]*\) 2>&1`" = ""|\1 2>/dev/null|' configure || die
74
75 # bug #316377
76 epatch "${FILESDIR}"/${P}-lfs-decls.patch
77 }
78
79 src_compile() {
80 case ${CHOST} in
81 *-mingw*|mingw*)
82 emake -f win32/Makefile.gcc prefix=/usr STRIP= PREFIX=${CHOST}- || die
83 ;;
84 *) # not an autoconf script, so cant use econf
85 ./configure --shared --prefix=/usr --libdir=/usr/$(get_libdir) || die
86 emake || die
87 ;;
88 esac
89 }
90
91 src_install() {
92 emake install DESTDIR="${D}" LDCONFIG=: || die
93 dodoc FAQ README ChangeLog doc/*.txt
94
95 case ${CHOST} in
96 *-mingw*|mingw*)
97 dobin zlib1.dll || die
98 dolib libz.dll.a || die
99 ;;
100 *) gen_usr_ldscript -a z ;;
101 esac
102 }