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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon Aug 1 22:54:13 2005 UTC (13 years, 3 months ago) by leonardop
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Removing old ebuild
(Portage version: 2.0.51.22-r2)

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

  ViewVC Help
Powered by ViewVC 1.1.20