Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/talloc: metadata.xml ChangeLog talloc-2.0.1-r1.ebuild
Date: Sat, 03 Apr 2010 19:26:57
Message-Id: E1Ny8z1-0000Av-9z@stork.gentoo.org
1 dev-zero 10/04/03 19:26:15
2
3 Modified: metadata.xml ChangeLog
4 Added: talloc-2.0.1-r1.ebuild
5 Log:
6 Fixed: unnecessary inherit, swig dependency, documentation install, static-libs building.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 sys-libs/talloc/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/talloc/metadata.xml?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/talloc/metadata.xml?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/talloc/metadata.xml?r1=1.1&r2=1.2
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-libs/talloc/metadata.xml,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- metadata.xml 9 Oct 2009 17:18:07 -0000 1.1
23 +++ metadata.xml 3 Apr 2010 19:26:15 -0000 1.2
24 @@ -7,6 +7,7 @@
25 <name>Patrick Lauer</name>
26 </maintainer>
27 <use>
28 - <flag name="compat">Enable extra compatibility stuff</flag>
29 + <flag name="compat">Enable extra compatibility stuff</flag>
30 + <flag name="swig">Install interface definitions for <pkg>dev-lang/swig</pkg></flag>
31 </use>
32 </pkgmetadata>
33
34
35
36 1.12 sys-libs/talloc/ChangeLog
37
38 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/talloc/ChangeLog?rev=1.12&view=markup
39 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/talloc/ChangeLog?rev=1.12&content-type=text/plain
40 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/talloc/ChangeLog?r1=1.11&r2=1.12
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/sys-libs/talloc/ChangeLog,v
45 retrieving revision 1.11
46 retrieving revision 1.12
47 diff -u -r1.11 -r1.12
48 --- ChangeLog 26 Jan 2010 22:04:08 -0000 1.11
49 +++ ChangeLog 3 Apr 2010 19:26:15 -0000 1.12
50 @@ -1,6 +1,13 @@
51 # ChangeLog for sys-libs/talloc
52 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/talloc/ChangeLog,v 1.11 2010/01/26 22:04:08 patrick Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/talloc/ChangeLog,v 1.12 2010/04/03 19:26:15 dev-zero Exp $
55 +
56 +*talloc-2.0.1-r1 (03 Apr 2010)
57 +
58 + 03 Apr 2010; Tiziano Müller <dev-zero@g.o>
59 + +talloc-2.0.1-r1.ebuild, metadata.xml:
60 + Fixed: unnecessary inherit, swig dependency, documentation install,
61 + static-libs building.
62
63 *talloc-2.0.1 (26 Jan 2010)
64
65
66
67
68 1.1 sys-libs/talloc/talloc-2.0.1-r1.ebuild
69
70 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/talloc/talloc-2.0.1-r1.ebuild?rev=1.1&view=markup
71 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/talloc/talloc-2.0.1-r1.ebuild?rev=1.1&content-type=text/plain
72
73 Index: talloc-2.0.1-r1.ebuild
74 ===================================================================
75 # Copyright 1999-2010 Gentoo Foundation
76 # Distributed under the terms of the GNU General Public License v2
77 # $Header: /var/cvsroot/gentoo-x86/sys-libs/talloc/talloc-2.0.1-r1.ebuild,v 1.1 2010/04/03 19:26:15 dev-zero Exp $
78
79 EAPI="2"
80
81 inherit eutils autotools
82
83 DESCRIPTION="Samba talloc library"
84 HOMEPAGE="http://talloc.samba.org/"
85 SRC_URI="http://samba.org/ftp/${PN}/${P}.tar.gz"
86
87 LICENSE="GPL-3"
88 SLOT="0"
89 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
90 IUSE="compat doc static-libs swig"
91
92 RDEPEND=""
93 DEPEND="doc? ( app-text/docbook-xml-dtd:4.2
94 dev-libs/libxslt )
95 swig? ( dev-lang/swig )
96 !<net-fs/samba-libs-3.4
97 !<net-fs/samba-3.3"
98
99 src_prepare() {
100 epatch "${FILESDIR}/${PN}-2.0.0-without-doc.patch"
101
102 eautoconf -Ilibreplace
103
104 sed -i \
105 -e 's:$(SHLD_FLAGS) :$(SHLD_FLAGS) $(LDFLAGS) :' \
106 Makefile.in
107 }
108
109 src_configure() {
110 if ! use swig ; then
111 sed -i \
112 -e '/swig/d' \
113 talloc.mk || die "sed failed"
114 fi
115
116 if ! use static-libs ; then
117 sed -i \
118 -e 's|:: $(TALLOC_STLIB)|::|' \
119 -e '/$(TALLOC_STLIB) /d' \
120 -e '/libtalloc.a/d' \
121 talloc.mk Makefile.in || die "sed failed"
122 fi
123
124 econf \
125 --sysconfdir=/etc/samba \
126 --localstatedir=/var \
127 $(use_enable compat talloc-compat1) \
128 $(use_with doc)
129 }
130
131 src_compile() {
132 emake shared-build || die "emake shared-build failed"
133 }
134
135 src_install() {
136 emake DESTDIR="${D}" install || die "emake install failed"
137
138 use doc && dohtml *.html
139
140 # installs missing symlink
141 dolib.so sharedbuild/lib/libtalloc.so
142 }