Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/zlib: ChangeLog zlib-1.2.5.ebuild
Date: Tue, 20 Apr 2010 12:49:59
Message-Id: 20100420124953.9D5A12C04B@corvid.gentoo.org
1 vapier 10/04/20 12:49:53
2
3 Modified: ChangeLog
4 Added: zlib-1.2.5.ebuild
5 Log:
6 Version bump #316343 by Samuli Suominen.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.77 sys-libs/zlib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/zlib/ChangeLog?rev=1.77&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/zlib/ChangeLog?rev=1.77&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/zlib/ChangeLog?r1=1.76&r2=1.77
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-libs/zlib/ChangeLog,v
19 retrieving revision 1.76
20 retrieving revision 1.77
21 diff -u -r1.76 -r1.77
22 --- ChangeLog 14 Apr 2010 02:23:25 -0000 1.76
23 +++ ChangeLog 20 Apr 2010 12:49:53 -0000 1.77
24 @@ -1,6 +1,11 @@
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.76 2010/04/14 02:23:25 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/ChangeLog,v 1.77 2010/04/20 12:49:53 vapier Exp $
29 +
30 +*zlib-1.2.5 (20 Apr 2010)
31 +
32 + 20 Apr 2010; Mike Frysinger <vapier@g.o> +zlib-1.2.5.ebuild:
33 + Version bump #316343 by Samuli Suominen.
34
35 14 Apr 2010; Mike Frysinger <vapier@g.o> zlib-1.2.4.ebuild:
36 Tweak the sed on configure tests to cover more cases #310573 by Jan-Erik
37
38
39
40 1.1 sys-libs/zlib/zlib-1.2.5.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/zlib/zlib-1.2.5.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/zlib/zlib-1.2.5.ebuild?rev=1.1&content-type=text/plain
44
45 Index: zlib-1.2.5.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.2.5.ebuild,v 1.1 2010/04/20 12:49:53 vapier Exp $
50
51 inherit eutils toolchain-funcs
52
53 DESCRIPTION="Standard (de)compression library"
54 HOMEPAGE="http://www.zlib.net/"
55 SRC_URI="http://www.gzip.org/zlib/${P}.tar.bz2
56 http://www.zlib.net/${P}.tar.bz2"
57
58 LICENSE="ZLIB"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
61 IUSE=""
62
63 RDEPEND="!<dev-libs/libxml2-2.7.7" #309623
64
65 src_unpack() {
66 unpack ${A}
67 cd "${S}"
68 epatch "${FILESDIR}"/${PN}-1.2.4-visibility-support.patch #149929
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
76 src_compile() {
77 case ${CHOST} in
78 *-mingw*|mingw*)
79 emake -f win32/Makefile.gcc prefix=/usr STRIP= PREFIX=${CHOST}- || die
80 ;;
81 *) # not an autoconf script, so cant use econf
82 ./configure --shared --prefix=/usr --libdir=/usr/$(get_libdir) || die
83 emake || die
84 ;;
85 esac
86 }
87
88 src_install() {
89 emake install DESTDIR="${D}" LDCONFIG=: || die
90 dodoc FAQ README ChangeLog doc/*.txt
91
92 case ${CHOST} in
93 *-mingw*|mingw*)
94 dobin zlib1.dll || die
95 dolib libz.dll.a || die
96 ;;
97 *) gen_usr_ldscript -a z ;;
98 esac
99 }