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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Tue Sep 13 11:46:42 2011 UTC (6 years, 10 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.1.10.14/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-3.0.4.ebuild,v 1.11 2010/07/20 15:37:29 jer Exp $
4
5 # TODO:
6 # * Verify if the parallel compilation problems persist, and if so fix them.
7
8 inherit db-use flag-o-matic gnome2
9
10 DESCRIPTION="Gnome Database Access Library"
11 HOMEPAGE="http://www.gnome-db.org/"
12 LICENSE="GPL-2 LGPL-2"
13
14 # MDB support currently works with CVS only, so disable it in the meantime
15 IUSE="berkdb bindist doc firebird freetds ldap mysql oci8 odbc postgres xbase"
16 SLOT="3"
17 KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
18
19 RDEPEND=">=dev-libs/glib-2.8
20 >=dev-libs/libxml2-2
21 virtual/fam
22 sys-libs/readline
23 sys-libs/ncurses
24 berkdb? ( sys-libs/db )
25 odbc? ( >=dev-db/unixODBC-2.0.6 )
26 mysql? ( virtual/mysql )
27 postgres? ( dev-db/postgresql-base )
28 freetds? ( >=dev-db/freetds-0.62 )
29 !bindist? ( firebird? ( dev-db/firebird ) )
30 xbase? ( dev-db/xbase )
31 ldap? ( >=net-nds/openldap-2.0.25 )"
32 # mdb? ( >app-office/mdbtools-0.5 )
33
34 DEPEND="${RDEPEND}
35 >=dev-util/pkgconfig-0.9
36 >=dev-util/intltool-0.30
37 doc? ( >=dev-util/gtk-doc-1 )"
38
39 DOCS="AUTHORS ChangeLog NEWS README"
40
41 # problems with parallel builds
42 MAKEOPTS="${MAKEOPTS} -j1"
43
44 pkg_setup() {
45 G2CONF="$(use_with berkdb bdb /usr) \
46 $(use_with odbc odbc /usr) \
47 $(use_with mysql mysql /usr) \
48 $(use_with postgres postgres /usr) \
49 $(use_with freetds tds /usr) \
50 $(use_with xbase xbase /usr) \
51 $(use_with ldap ldap /usr) \
52 --without-mdb"
53 # $(use_with mdb mdb /usr) \
54
55 if use bindist; then
56 # firebird license is not GPL compatible
57 G2CONF="${G2CONF} --without-firebird"
58 else
59 G2CONF="${G2CONF} $(use_with firebird firebird /usr)"
60 fi
61
62 use berkdb && append-cppflags "-I$(db_includedir)"
63 use oci8 || G2CONF="${G2CONF} --without-oracle"
64
65 # Not in portage
66 G2CONF="${G2CONF} --without-mSQL --without-sybase --without-ibmdb2"
67 }

  ViewVC Help
Powered by ViewVC 1.1.20