Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/mdbtools: mdbtools-0.6_pre2-r1.ebuild ChangeLog
Date: Sun, 03 Jan 2010 14:50:43
Message-Id: E1NRRmv-0004wn-QU@stork.gentoo.org
1 graaff 10/01/03 14:50:37
2
3 Modified: ChangeLog
4 Added: mdbtools-0.6_pre2-r1.ebuild
5 Log:
6 Fix bug 297662 thanks to oc666. Convert to EAPI=2. Remove unsupported configure option.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.43 app-office/mdbtools/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/mdbtools/ChangeLog?rev=1.43&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/mdbtools/ChangeLog?rev=1.43&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/mdbtools/ChangeLog?r1=1.42&r2=1.43
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-office/mdbtools/ChangeLog,v
19 retrieving revision 1.42
20 retrieving revision 1.43
21 diff -u -r1.42 -r1.43
22 --- ChangeLog 1 Jan 2009 10:22:07 -0000 1.42
23 +++ ChangeLog 3 Jan 2010 14:50:37 -0000 1.43
24 @@ -1,6 +1,14 @@
25 # ChangeLog for app-office/mdbtools
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-office/mdbtools/ChangeLog,v 1.42 2009/01/01 10:22:07 graaff Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/mdbtools/ChangeLog,v 1.43 2010/01/03 14:50:37 graaff Exp $
30 +
31 +*mdbtools-0.6_pre2-r1 (03 Jan 2010)
32 +
33 + 03 Jan 2010; Hans de Graaff <graaff@g.o>
34 + +mdbtools-0.6_pre2-r1.ebuild,
35 + +files/mdbtools-0.6_pre2-haveiconv-fix.patch:
36 + Fix bug 297662 thanks to oc666. Convert to EAPI=2. Remove unsupported
37 + configure option.
38
39 *mdbtools-0.6_pre2 (30 Dec 2008)
40
41
42
43
44 1.1 app-office/mdbtools/mdbtools-0.6_pre2-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/mdbtools/mdbtools-0.6_pre2-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/mdbtools/mdbtools-0.6_pre2-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: mdbtools-0.6_pre2-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2010 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-office/mdbtools/mdbtools-0.6_pre2-r1.ebuild,v 1.1 2010/01/03 14:50:37 graaff Exp $
54
55 EAPI="2"
56 WANT_AUTOMAKE="1.7"
57
58 inherit eutils autotools
59
60 MY_P=${P/_/}
61 S="${WORKDIR}/${PN}-cvs-20050624"
62
63 DESCRIPTION="A set of libraries and utilities for reading Microsoft Access database (MDB) files"
64 HOMEPAGE="http://sourceforge.net/projects/mdbtools"
65 SRC_URI="mirror://gentoo/${PN}-cvs-20050624.tar.gz"
66
67 IUSE="gnome odbc"
68 LICENSE="GPL-2 LGPL-2.1"
69 SLOT="0"
70 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
71
72 RDEPEND=">=dev-libs/glib-2
73 sys-libs/ncurses
74 sys-libs/readline
75 gnome? (
76 >=gnome-base/libglade-2
77 >=gnome-base/libgnomeui-2 )
78 odbc? ( >=dev-db/unixODBC-2.0 )"
79 DEPEND="${RDEPEND}
80 dev-util/pkgconfig
81 >=sys-devel/flex-2.5.0
82 >=sys-devel/bison-1.35"
83
84 src_prepare() {
85 epatch "${FILESDIR}"/${P}-gcc34.patch
86 epatch "${FILESDIR}"/${P}-as-needed.patch
87 epatch "${FILESDIR}"/${P}-haveiconv-fix.patch
88
89 # This is necessary since the upstream tarball was created with a
90 # buggy libtool, and the .so suffix in library names is lost in
91 # some platforms (e.g. amd64). Starting with libtool 2.2.4 it is
92 # also necessary to remove the acinclude.m4 file since it contains
93 # an old libtool.m4 that is obsolete, #227257.
94 rm "${S}"/acinclude.m4
95 eautoreconf
96 }
97
98 src_configure() {
99 local myconf
100 use odbc && myconf="${myconf} --with-unixodbc=/usr"
101
102 econf ${myconf} || die "configure failed"
103 }
104
105 src_install() {
106 make DESTDIR="${D}" install || die "Installation failed"
107 dodoc COPYING* NEWS README* TODO AUTHORS HACKING ChangeLog
108
109 # add a compat symlink (gmdb2 is not compiled if gnome USE flag is disabled)
110 use gnome && dosym gmdb2 /usr/bin/gmdb
111 }