1 |
dev-zero 10/04/03 19:56:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tdb-1.2.0-r2.ebuild |
5 |
Log: |
6 |
Fixed: unnecessary inherit, static-libs installation, added tests. |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.12 sys-libs/tdb/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/tdb/ChangeLog?rev=1.12&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/tdb/ChangeLog?rev=1.12&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/tdb/ChangeLog?r1=1.11&r2=1.12 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v |
19 |
retrieving revision 1.11 |
20 |
retrieving revision 1.12 |
21 |
diff -u -r1.11 -r1.12 |
22 |
--- ChangeLog 11 Jan 2010 20:43:02 -0000 1.11 |
23 |
+++ ChangeLog 3 Apr 2010 19:56:24 -0000 1.12 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sys-libs/tdb |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v 1.11 2010/01/11 20:43:02 flameeyes Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v 1.12 2010/04/03 19:56:24 dev-zero Exp $ |
29 |
+ |
30 |
+*tdb-1.2.0-r2 (03 Apr 2010) |
31 |
+ |
32 |
+ 03 Apr 2010; Tiziano Müller <dev-zero@g.o> +tdb-1.2.0-r2.ebuild: |
33 |
+ Fixed: unnecessary inherit, static-libs installation, added tests. |
34 |
|
35 |
*tdb-1.2.0-r1 (11 Jan 2010) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.1 sys-libs/tdb/tdb-1.2.0-r2.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/tdb/tdb-1.2.0-r2.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/tdb/tdb-1.2.0-r2.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: tdb-1.2.0-r2.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/tdb/tdb-1.2.0-r2.ebuild,v 1.1 2010/04/03 19:56:24 dev-zero Exp $ |
50 |
|
51 |
EAPI="2" |
52 |
|
53 |
inherit autotools python |
54 |
|
55 |
DESCRIPTION="Samba tdb" |
56 |
HOMEPAGE="http://tdb.samba.org/" |
57 |
SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz" |
58 |
LICENSE="GPL-3" |
59 |
SLOT="0" |
60 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
61 |
IUSE="python static-libs tools tdbtest" |
62 |
|
63 |
RDEPEND="" |
64 |
DEPEND="python? ( dev-lang/python ) |
65 |
!<net-fs/samba-libs-3.4 |
66 |
!<net-fs/samba-3.3" |
67 |
|
68 |
src_prepare() { |
69 |
eautoconf -Ilibreplace |
70 |
sed -i \ |
71 |
-e 's:$(SHLD_FLAGS) :$(SHLD_FLAGS) $(LDFLAGS) :' \ |
72 |
Makefile.in || die "sed failed" |
73 |
} |
74 |
|
75 |
src_configure() { |
76 |
econf \ |
77 |
--sysconfdir=/etc/samba \ |
78 |
--localstatedir=/var \ |
79 |
$(use_enable python) |
80 |
} |
81 |
|
82 |
src_compile() { |
83 |
# TODO: |
84 |
# - don't build static-libs in case of USE=-static-libs |
85 |
|
86 |
# we create the directories first to avoid workaround parallel build problem |
87 |
emake dirs || die "emake dirs failed" |
88 |
|
89 |
emake shared-build || die "emake shared-build failed" |
90 |
|
91 |
if use tdbtest ; then |
92 |
emake bin/tdbtest || die "emake tdbtest failed" |
93 |
fi |
94 |
} |
95 |
|
96 |
src_install() { |
97 |
emake install DESTDIR="${D}" || die "emake install failed" |
98 |
|
99 |
# installs a necessary symlink |
100 |
dolib.so sharedbuild/lib/libtdb.so |
101 |
|
102 |
dodoc docs/README |
103 |
|
104 |
use static-libs || rm -f "${D}"/usr/lib*/*.a |
105 |
use tools || rm -rf "${D}/usr/bin" |
106 |
use tdbtest && dobin bin/tdbtest |
107 |
use python && python_need_rebuild |
108 |
} |
109 |
|
110 |
src_test() { |
111 |
# the default src_test runs 'make test' and 'make check', letting |
112 |
# the tests fail occasionally (reason: unknown) |
113 |
emake check || die "emake check failed" |
114 |
} |