Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/libdbi: ChangeLog libdbi-0.8.3.ebuild
Date: Mon, 29 Sep 2008 02:42:14
Message-Id: E1Kk8iB-0004G7-FF@stork.gentoo.org
1 robbat2 08/09/29 02:42:11
2
3 Modified: ChangeLog
4 Added: libdbi-0.8.3.ebuild
5 Log:
6 Version bump per bug #237991. Also fix bug #238514 for pkgconfig.
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64)
8
9 Revision Changes Path
10 1.20 dev-db/libdbi/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libdbi/ChangeLog?rev=1.20&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libdbi/ChangeLog?rev=1.20&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libdbi/ChangeLog?r1=1.19&r2=1.20
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-db/libdbi/ChangeLog,v
19 retrieving revision 1.19
20 retrieving revision 1.20
21 diff -p -w -b -B -u -u -r1.19 -r1.20
22 --- ChangeLog 20 Jun 2007 07:43:03 -0000 1.19
23 +++ ChangeLog 29 Sep 2008 02:42:10 -0000 1.20
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-db/libdbi
26 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi/ChangeLog,v 1.19 2007/06/20 07:43:03 opfer Exp $
28 +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi/ChangeLog,v 1.20 2008/09/29 02:42:10 robbat2 Exp $
30 +
31 +*libdbi-0.8.3 (29 Sep 2008)
32 +
33 + 29 Sep 2008; Robin H. Johnson <robbat2@g.o>
34 + +files/libdbi-0.8.1-pkg-config.patch, +files/dbi.pc.in,
35 + +libdbi-0.8.3.ebuild:
36 + Version bump per bug #237991. Also fix bug #238514 for pkgconfig.
37
38 20 Jun 2007; Christian Faulhammer <opfer@g.o> libdbi-0.8.1.ebuild:
39 stable x86, bug 181577
40
41
42
43 1.1 dev-db/libdbi/libdbi-0.8.3.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libdbi/libdbi-0.8.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libdbi/libdbi-0.8.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libdbi-0.8.3.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi/libdbi-0.8.3.ebuild,v 1.1 2008/09/29 02:42:10 robbat2 Exp $
53
54 inherit eutils autotools multilib
55
56 DESCRIPTION="libdbi implements a database-independent abstraction layer in C, similar to the DBI/DBD layer in Perl."
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
58 HOMEPAGE="http://libdbi.sourceforge.net/"
59 LICENSE="LGPL-2.1"
60 RDEPEND="virtual/libc"
61 DEPEND=">=sys-apps/sed-4
62 dev-util/pkgconfig
63 ${RDEPEND}"
64 PDEPEND=">=dev-db/libdbi-drivers-0.8.3"
65 IUSE=""
66 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
67 SLOT=0
68
69 src_unpack() {
70 unpack ${A}
71 chown -R portage:portage "${S}"
72 cd "${S}"
73 epatch "${FILESDIR}"/libdbi-0.8.1-pkg-config.patch
74 cp -f "${FILESDIR}"/dbi.pc.in ${S}/dbi.pc.in
75
76 # configure.in has been changed
77 eautoreconf || die "eautoreconf failed"
78 }
79
80 src_compile() {
81 # should append CFLAGS, not replace them
82 sed -i.orig -e 's/^CFLAGS = /CFLAGS += /g' src/Makefile.in
83 econf || die "econf failed"
84 emake || die "emake failed"
85 }
86
87 src_install () {
88 emake install DESTDIR="${D}" || die "make install failed"
89 dodoc AUTHORS ChangeLog README README.osx TODO
90
91 # syslog-ng requires dbi.pc
92 insinto /usr/$(get_libdir)/pkgconfig/
93 doins dbi.pc
94 }