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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Oct 30 12:14:37 2005 UTC (12 years, 10 months ago) by leonardop
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Pruning old ebuilds.
(Portage version: 2.0.53_rc6)

1 # Copyright 1999-2005 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.2.ebuild,v 1.8 2005/09/11 08:51:00 agriffis Exp $
4
5 inherit 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 static xbase"
12 SLOT="1"
13 KEYWORDS="alpha ~amd64 ppc ppc64 sparc x86"
14
15 RDEPEND=">=dev-libs/glib-2
16 dev-libs/libxml2
17 >=dev-libs/libxslt-1.0.9
18 dev-libs/popt
19 sys-libs/ncurses
20 sys-libs/readline
21 berkdb? ( sys-libs/db )
22 freetds? ( >=dev-db/freetds-0.62 )
23 ldap? ( >=net-nds/openldap-2.0.25 )
24 mysql? ( >=dev-db/mysql-3.23.51 )
25 odbc? ( >=dev-db/unixODBC-2.0.6 )
26 postgres? ( >=dev-db/postgresql-7.2.1 )
27 x86? ( firebird? ( dev-db/firebird ) )
28 sqlite? ( >=dev-db/sqlite-3 )
29 xbase? ( dev-db/xbase )
30 !ia64? ( mdb? ( >=app-office/mdbtools-0.5 ) )"
31
32 DEPEND="${RDEPEND}
33 >=dev-util/pkgconfig-0.8
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
40 # problems with parallel builds
41 MAKEOPTS="${MAKEOPTS} -j1"
42
43 src_unpack() {
44 unpack ${A}
45 gnome2_omf_fix ${S}/doc/Makefile.in
46
47 cd ${S}
48 # Fix freetds API problems
49 epatch ${FILESDIR}/${PN}-1.0.2-freetds_fix.patch
50 # Fix compilation of the mdb provider
51 epatch ${FILESDIR}/${PN}-1.2.1-mdb_fix.patch
52 }
53
54 src_compile() {
55 G2CONF="${G2CONF} \
56 $(use_with berkdb bdb /usr) $(use_with firebird firebird /usr) \
57 $(use_with freetds tds /usr) $(use_with ldap ldap /usr) \
58 $(use_with mdb mdb /usr) $(use_with mysql mysql /usr) \
59 $(use_with odbc odbc /usr) $(use_with postgres postgres /usr) \
60 $(use_with sqlite sqlite /usr) $(use_with xbase xbase /usr) \
61 $(use_enable static)"
62 use oci8 || G2CONF="${G2CONF} --without-oracle"
63
64 # not in portage
65 G2CONF="${G2CONF} --without-msql --without-sybase --without-ibmdb2"
66
67 gnome2_src_compile
68 }

  ViewVC Help
Powered by ViewVC 1.1.20