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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Thu Aug 5 13:36:10 2004 UTC (13 years, 11 months ago) by liquidx
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
cleanup. new version thanks to Robert Davis <rdavis@unico.com> (#48611)

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-0.12.1.ebuild,v 1.10 2004/06/24 22:08:15 agriffis Exp $
4
5 IUSE="odbc postgres mysql ldap firebird freetds sqlite mdb oci8"
6
7 inherit gnome2 gnome.org
8
9 DESCRIPTION="Gnome Database Access Library"
10 HOMEPAGE="http://www.gnome-db.org/"
11 SLOT="1"
12 LICENSE="GPL-2 LGPL-2"
13 KEYWORDS="x86 ppc"
14
15 RDEPEND=">=gnome-base/ORBit2-2.3.91
16 >=dev-libs/glib-2.0.4
17 >=gnome-base/libbonobo-2.0.0
18 >=dev-libs/libxml2-2.4.23
19 >=gnome-base/gconf-1.2.0
20 >=dev-libs/libxslt-1.0.9
21 >=gnome-base/gnome-vfs-2.0.0
22 dev-libs/popt
23 sys-libs/readline
24 sys-libs/ncurses
25 mysql? ( >=dev-db/mysql-3.23.51 )
26 postgres? ( >=dev-db/postgresql-7.2.1 )
27 odbc? ( >=dev-db/unixODBC-2.0.6 )
28 ldap? ( >=net-nds/openldap-2.0.25 )
29 !ppc? ( firebird? ( >=dev-db/firebird-1.0 ) )
30 freetds? ( >=dev-db/freetds-0.5 )
31 sqlite? ( >=dev-db/sqlite-2.4.2 )
32 mdb? ( >=app-office/mdbtools-0.5 )"
33
34 DEPEND=">=dev-util/pkgconfig-0.8
35 >=dev-util/intltool-0.22
36 >=sys-devel/gettext-0.11
37 app-text/scrollkeeper
38 ${RDEPEND}"
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
48 src_compile() {
49
50 local myconf
51
52 use mysql \
53 && myconf="${myconf} --with-mysql=/usr" \
54 || myconf="${myconf} --without-mysql"
55
56 use postgres \
57 && myconf="${myconf} --with-postgres=/usr" \
58 || myconf="${myconf} --without-postgres"
59
60 use odbc \
61 && myconf="${myconf} --with-odbc=/usr" \
62 || myconf="${myconf} --without-odbc"
63
64 use ldap \
65 && myconf="${myconf} --with-ldap=/usr" \
66 || myconf="${myconf} --without-ldap"
67
68 use sqlite \
69 && myconf="$myconf --with-sqlite=/usr" \
70 || myconf="$myconf --without-sqlite"
71
72 use freetds \
73 && myconf="$myconf --with-tds=/usr" \
74 || myconf="$myconf --without-tds"
75
76 use firebird \
77 && myconf="${myconf} --with-firebird=/usr" \
78 || myconf="${myconf} --without-firebird"
79
80 use mdb \
81 && myconf="${myconf} --with-mdb=/usr" \
82 || myconf="${myconf} --without-mdb"
83
84 # not in portage (http://linux.techass.com/projects/xdb/)
85 myconf="${myconf} --without-xbase"
86 myconf="${myconf} --without-msql"
87
88 # closed source dbs
89 myconf="${myconf} --without-ibmdb2"
90 myconf="${myconf} --without-sybase"
91 use oci8 || myconf="${myconf} --without-oracle"
92
93 # workaround for readline-4.1 profile - disables building of gda-config-tool
94 if has_version "=sys-libs/readline-4.1*"; then
95 export CONFIG_TOOL_HEADERS="wrong"
96 fi
97
98 gnome2_src_compile ${myconf}
99
100 unset CONFIG_TOOL_HEADERS
101
102 }

  ViewVC Help
Powered by ViewVC 1.1.20