/[gentoo-x86]/gnome-extra/libgda/libgda-1.2.3.ebuild
Gentoo

Contents of /gnome-extra/libgda/libgda-1.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (hide annotations) (download)
Mon Nov 20 22:33:27 2006 UTC (12 years, 6 months ago) by leonardop
Branch: MAIN
Changes since 1.12: +2 -2 lines
Modified MDB patch to make it work with mdbtools 0.5 and 0.6pre1 (bug #144554).
(Portage version: 2.1.2_rc1-r7)

1 leonardop 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 leonardop 1.13 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-1.2.3.ebuild,v 1.12 2006/09/05 20:48:34 tcort Exp $
4 leonardop 1.1
5 leonardop 1.4 inherit autotools eutils gnome2
6 leonardop 1.1
7     DESCRIPTION="Gnome Database Access Library"
8     HOMEPAGE="http://www.gnome-db.org/"
9     LICENSE="GPL-2 LGPL-2"
10    
11     IUSE="berkdb doc firebird freetds ldap mdb mysql oci8 odbc postgres sqlite xbase"
12     SLOT="1"
13 tcort 1.12 KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
14 leonardop 1.1
15     RDEPEND=">=dev-libs/glib-2
16     >=dev-libs/libxml2-2
17     >=dev-libs/libxslt-1.0.9
18     sys-libs/readline
19     sys-libs/ncurses
20     dev-libs/popt
21     berkdb? ( sys-libs/db )
22     odbc? ( >=dev-db/unixODBC-2.0.6 )
23     mysql? ( >=dev-db/mysql-3.23.51 )
24     postgres? ( >=dev-db/postgresql-7.2.1 )
25     freetds? ( >=dev-db/freetds-0.62 )
26     x86? ( firebird? ( dev-db/firebird ) )
27     xbase? ( dev-db/xbase )
28     sqlite? ( >=dev-db/sqlite-3 )
29     mdb? ( >=app-office/mdbtools-0.5 )
30     ldap? ( >=net-nds/openldap-2.0.25 )"
31    
32     DEPEND="${RDEPEND}
33     >=dev-util/pkgconfig-0.9
34     >=dev-util/intltool-0.30
35     app-text/scrollkeeper
36     doc? ( >=dev-util/gtk-doc-1 )"
37    
38     DOCS="AUTHORS ChangeLog NEWS README"
39     USE_DESTDIR="1"
40    
41     # problems with parallel builds
42     MAKEOPTS="${MAKEOPTS} -j1"
43    
44    
45     pkg_setup() {
46     G2CONF="$(use_with berkdb bdb /usr) \
47     $(use_with firebird firebird /usr) \
48     $(use_with freetds tds /usr) \
49     $(use_with ldap ldap /usr) \
50     $(use_with mdb mdb /usr) \
51     $(use_with mysql mysql /usr) \
52     $(use_with odbc odbc /usr) \
53     $(use_with postgres postgres /usr) \
54     $(use_with sqlite sqlite /usr) \
55     $(use_with xbase xbase /usr)"
56    
57     use oci8 || G2CONF="${G2CONF} --without-oracle"
58    
59     # not in portage
60     G2CONF="${G2CONF} --without-msql --without-sybase --without-ibmdb2"
61     }
62    
63     src_unpack() {
64 leonardop 1.4 gnome2_src_unpack
65 leonardop 1.1
66     # Fix freetds API problems
67 leonardop 1.4 epatch "${FILESDIR}"/${P}-freetds_api_fixes.patch
68 leonardop 1.1 # Fix compilation of the mdb provider
69 leonardop 1.13 epatch "${FILESDIR}"/${P}-mdb_api.patch
70 leonardop 1.1
71 leonardop 1.4 sed -n -e '/GTK_DOC_CHECK/,/IT_PROG_INTLTOOL/p' aclocal.m4 > gtk-doc.m4
72 leonardop 1.6 intltoolize --automake -c -f || die "intltoolize failed"
73 leonardop 1.4 AT_M4DIR="." eautoreconf
74 leonardop 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20