Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/zziplib: ChangeLog zziplib-0.13.60.ebuild
Date: Thu, 30 Dec 2010 09:08:18
Message-Id: 20101230090809.2053120054@flycatcher.gentoo.org
1 mr_bones_ 10/12/30 09:08:09
2
3 Modified: ChangeLog
4 Added: zziplib-0.13.60.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.1.9.25/cvs/Linux i686)
9
10 Revision Changes Path
11 1.88 dev-libs/zziplib/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/zziplib/ChangeLog?rev=1.88&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/zziplib/ChangeLog?rev=1.88&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/zziplib/ChangeLog?r1=1.87&r2=1.88
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/zziplib/ChangeLog,v
20 retrieving revision 1.87
21 retrieving revision 1.88
22 diff -u -r1.87 -r1.88
23 --- ChangeLog 28 Sep 2010 16:49:40 -0000 1.87
24 +++ ChangeLog 30 Dec 2010 09:08:08 -0000 1.88
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/zziplib
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/ChangeLog,v 1.87 2010/09/28 16:49:40 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/ChangeLog,v 1.88 2010/12/30 09:08:08 mr_bones_ Exp $
30 +
31 +*zziplib-0.13.60 (30 Dec 2010)
32 +
33 + 30 Dec 2010; Michael Sterrett <mr_bones_@g.o>
34 + +zziplib-0.13.60.ebuild:
35 + version bump
36
37 28 Sep 2010; Brent Baude <ranger@g.o> zziplib-0.13.59-r1.ebuild:
38 stable ppc, bug 328131
39
40
41
42 1.1 dev-libs/zziplib/zziplib-0.13.60.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/zziplib/zziplib-0.13.60.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/zziplib/zziplib-0.13.60.ebuild?rev=1.1&content-type=text/plain
46
47 Index: zziplib-0.13.60.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/dev-libs/zziplib/zziplib-0.13.60.ebuild,v 1.1 2010/12/30 09:08:09 mr_bones_ Exp $
52
53 EAPI="2"
54 inherit libtool eutils flag-o-matic
55
56 DESCRIPTION="Lightweight library used to easily extract data from files archived in a single zip file"
57 HOMEPAGE="http://zziplib.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/zziplib/${P}.tar.bz2"
59
60 LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
63 IUSE="doc sdl static-libs test"
64
65 RDEPEND="sys-libs/zlib
66 sdl? ( >=media-libs/libsdl-1.2.6 )"
67 DEPEND="${RDEPEND}
68 >=dev-lang/python-2.4
69 dev-util/pkgconfig
70 test? ( app-arch/zip )"
71
72 src_prepare() {
73 epatch "${FILESDIR}"/${PN}-0.13.49-SDL-test.patch
74
75 # zziplib tries to install backwards compat symlinks we dont want
76 sed -i -e '/^zzip-postinstall:/s|$|\ndisable-this:|' Makefile.in || die
77 sed -i -e '/^install-exec-hook:/s|$|\ndisable-this:|' zzip/Makefile.in || die
78
79 elibtoolize
80 }
81
82 src_configure() {
83 append-flags -fno-strict-aliasing # bug reported upstream
84 export ac_cv_path_XMLTO= # man pages are bundled in .tar's
85 econf \
86 --disable-dependency-tracking \
87 $(use_enable sdl) \
88 $(use_enable static-libs static)
89 }
90
91 src_test() {
92 # need this because `make test` will always return true
93 # tests fail with -j > 1 (bug #241186)
94 emake -j1 check || die
95 }
96
97 src_install() {
98 emake DESTDIR="${D}" install || die
99 # fowners fails when we don't have enough permissions (Prefix)
100 if [[ ${EUID} == 0 ]] ; then
101 fowners -R root /usr/share/man || die #321975
102 fi
103
104 if ! use static-libs ; then
105 find "${D}" -type f -name '*.la' -exec rm {} + || die
106 fi
107
108 dodoc ChangeLog README TODO
109
110 if use doc ; then
111 dohtml -r docs/* || die 'dohtml failed'
112 fi
113 }