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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Oct 6 10:41:17 2001 UTC (17 years, 6 months ago) by hallski
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
more in the great move

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: /home/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-0.2.9.ebuild,v 1.4 2001/08/31 23:32:48 hallski Exp $
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 RDEPEND="virtual/glibc
13 >=gnome-base/gconf-0.11
14 >=sys-libs/gdbm-1.8.0
15 >=sys-libs/readline-4.1
16 mysql? ( >=dev-db/mysql-3.23.26 )
17 postgres? ( >=dev-db/postgresql-7.1 )
18 odbc? ( >=dev-db/unixODBC-1.8.13 )
19 ldap? ( >=net-nds/openldap-1.2.11 )"
20
21 DEPEND="${RDEPEND}
22 sys-apps/which
23 >=dev-perl/CORBA-ORBit-0.4.3"
24
25 src_compile() {
26 local myconf
27
28 if [ "`use mysql`" ]
29 then
30 myconf="--with-mysql=/usr"
31 fi
32
33 if [ "`use ldap`" ]
34 then
35 myconf="$myconf --with-ldap=/usr"
36 fi
37
38 if [ "`use odbc`" ]
39 then
40 myconf="$myconf --with-odbc"
41 fi
42
43 if [ "`use postgres`" ]
44 then
45 myconf="$myconf --with-postgres=/usr"
46 fi
47
48 ./configure --host=${CHOST} \
49 --prefix=/opt/gnome \
50 --sysconfdir=/etc/opt/gnome \
51 --mandir=/opt/gnome/man \
52 $myconf || die
53
54 # Doesn't work with -j 4 (hallski)
55 make LDFLAGS="-lncurses" LIBREADLINE="-lreadline -lncurses" || die
56 }
57
58 src_install() {
59 make DESTDIR=${D} PREFIX=${D}/usr \
60 INSTALLMAN3DIR=${D}/usr/share/man/man3 \
61 GDA_oafinfodir=${D}/opt/gnome/share/oaf install || die
62
63 into /usr
64 dobin providers/gda-default-server/build_sqlite/{lemon,sqlite}
65 dodoc AUTHORS COPYING.* ChangeLog NEWS README
66 }

  ViewVC Help
Powered by ViewVC 1.1.20