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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Apr 9 09:37:44 2003 UTC (15 years, 3 months ago) by liquidx
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
cleanup libgda

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-0.10.0.ebuild,v 1.1 2003/03/10 00:02:22 liquidx Exp $
4
5 IUSE="odbc postgres mysql ldap"
6
7 inherit gnome2 gnome.org
8
9 S=${WORKDIR}/${P}
10 DESCRIPTION="Gnome Database Access Library"
11 HOMEPAGE="http://www.gnome-db.org/"
12 SLOT="0"
13 LICENSE="GPL-2 LGPL-2"
14 KEYWORDS="~x86"
15
16 RDEPEND=">=gnome-base/ORBit2-2.3.91
17 >=dev-libs/glib-2.0.4
18 >=gnome-base/bonobo-activation-0.7.0
19 >=gnome-base/libbonobo-2.0.0
20 >=dev-libs/libxml2-2.4.23
21 >=gnome-base/gconf-1.2.0
22 >=dev-libs/libxslt-1.0.9
23 >=gnome-base/gnome-vfs-2.0.0
24 dev-libs/popt
25 sys-libs/readline
26 sys-libs/ncurses
27 mysql? ( >=dev-db/mysql-3.23.51 )
28 postgres? ( >=dev-db/postgresql-7.2.1 )
29 odbc? ( >=dev-db/unixODBC-2.0.6 )
30 ldap? ( net-nds/openldap )"
31
32 # removing un-ratified use flags
33 # sqlite? ( >=dev-db/sqlite-2.4.2 )
34 # freetds? ( >=dev-db/freetds-0.53 )
35
36 DEPEND=">=dev-util/pkgconfig-0.8
37 >=dev-util/intltool-0.22
38 ${RDEPEND}"
39
40 src_compile() {
41
42 local myconf
43
44 if [ -n "`use mysql`" ]; then
45 myconf="--with-mysql=/usr"
46 else
47 myconf="--without-mysql"
48 fi
49
50 if [ -n "`use postgres`" ]; then
51 myconf="${myconf} --with-postgres=/usr"
52 else
53 myconf="${myconf} --without-postgres"
54 fi
55
56 if [ -n "`use odbc`" ]; then
57 myconf="${myconf} --with-odbc=/usr"
58 else
59 myconf="${myconf} --without-odbc"
60 fi
61
62 if [ -n "`use ldap`" ]; then
63 myconf="${myconf} --with-ldap=/usr"
64 else
65 myconf="${myconf} --without-ldap"
66 fi
67
68 # disabling unratified USE flags
69
70 #if [ -n "`use sqlite`" ]; then
71 # myconf="$myconf --with-sqlite=/usr"
72 #else
73 # myconf="$myconf --without-sqlite"
74 #fi
75
76 #if [ -n "`use freetds`" ]; then
77 # myconf="$myconf --with-tds=/usr"
78 #else
79 # myconf="$myconf --without-tds"
80 #fi
81
82 # not setting these, because we should allow
83 # libgda to autodetect the environment if
84 # there are no use flags for these backends.
85
86 #myconf="${myconf} --without-sqlite"
87 #myconf="${myconf} --without-tds"
88 #myconf="${myconf} --without-ibmdb2"
89 #myconf="${myconf} --without-sybase"
90 #myconf="${myconf} --without-oracle"
91 #myconf="${myconf} --without-firebird"
92 #myconf="${myconf} --without-mdb"
93
94 gnome2_src_compile ${myconf}
95
96 }

  ViewVC Help
Powered by ViewVC 1.1.20