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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jun 9 02:10:52 2001 UTC (17 years, 10 months ago) by achim
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
*** empty log message ***

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Achim Gottinger <achim@gentoo.org>
4 # $Header
5
6 A=${P}.tar.gz
7 S=${WORKDIR}/${P}
8 DESCRIPTION="gda lib"
9 SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnome-db/${A}"
10 HOMEPAGE="http://www.gnome.org/gnome-db"
11
12 DEPEND=">=gnome-base/gconf-0.11
13 >=dev-perl/CORBA-ORBit-0.4.3
14 mysql? ( >=dev-db/mysql-3.23.26 )
15 postgres? ( >=dev-db/postgresql-7.1 )
16 odbc? ( >=dev-db/unixODBC-1.8.13 )
17 ldap? ( >=net-nds/openldap-1.2.11 )"
18
19
20 src_compile() {
21 local myconf
22 if [ "`use mysql`" ] ; then
23 myconf="--with-mysql=/usr"
24 fi
25 if [ "`use ldap`" ] ; then
26 myconf="$myconf --with-ldap=/usr"
27 fi
28 if [ "`use odbc`" ]; then
29 myconf="$myconf --with-odbc"
30 fi
31 if [ "`use postgres`" ]; then
32 myconf="$myconf --with-postgres=/usr"
33 fi
34
35 try ./configure --host=${CHOST} --prefix=/opt/gnome $myconf
36 try make
37 }
38
39 src_install() {
40 try make prefix=${D}/opt/gnome PREFIX=${D}/usr \
41 GDA_oafinfodir=${D}/opt/gnome/share/oaf install
42
43 dodoc AUTHORS COPYING.* ChangeLog NEWS README THANKS TODO
44 }
45
46
47
48

  ViewVC Help
Powered by ViewVC 1.1.20