/[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.16 - (show annotations) (download)
Tue Nov 27 19:36:54 2007 UTC (11 years, 5 months ago) by dang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +1 -1 lines
FILE REMOVED
Hide firebird behind bindist; bug #200284
(Portage version: 2.1.4_rc3)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-1.2.3.ebuild,v 1.15 2007/07/12 04:19:34 mr_bones_ Exp $
4
5 inherit autotools eutils gnome2
6
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 KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
14
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? ( virtual/mysql )
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 pkg_setup() {
45 G2CONF="$(use_with berkdb bdb /usr) \
46 $(use_with firebird firebird /usr) \
47 $(use_with freetds tds /usr) \
48 $(use_with ldap ldap /usr) \
49 $(use_with mdb mdb /usr) \
50 $(use_with mysql mysql /usr) \
51 $(use_with odbc odbc /usr) \
52 $(use_with postgres postgres /usr) \
53 $(use_with sqlite sqlite /usr) \
54 $(use_with xbase xbase /usr)"
55
56 use oci8 || G2CONF="${G2CONF} --without-oracle"
57
58 # not in portage
59 G2CONF="${G2CONF} --without-msql --without-sybase --without-ibmdb2"
60 }
61
62 src_unpack() {
63 gnome2_src_unpack
64
65 # Fix freetds API problems
66 epatch "${FILESDIR}"/${P}-freetds_api_fixes.patch
67 # Fix compilation of the mdb provider
68 epatch "${FILESDIR}"/${P}-mdb_api.patch
69
70 sed -n -e '/GTK_DOC_CHECK/,/IT_PROG_INTLTOOL/p' aclocal.m4 > gtk-doc.m4
71 intltoolize --automake -c -f || die "intltoolize failed"
72 AT_M4DIR="." eautoreconf
73 }

  ViewVC Help
Powered by ViewVC 1.1.20