diff options
Diffstat (limited to 'gnome-libs/libgda/libgda-0.2.10.ebuild')
-rw-r--r-- | gnome-libs/libgda/libgda-0.2.10.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/gnome-libs/libgda/libgda-0.2.10.ebuild b/gnome-libs/libgda/libgda-0.2.10.ebuild new file mode 100644 index 000000000000..29a18c265f94 --- /dev/null +++ b/gnome-libs/libgda/libgda-0.2.10.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header + +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="gda lib" +SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnome-db/${A} + ftp://ftp.gnome-db.org/pub/gnome-db/sources/${PV}/${A}" +HOMEPAGE="http://www.gnome.org/gnome-db" + +DEPEND="virtual/glibc sys-apps/which + >=sys-libs/gdbm-1.8.0 + >=sys-libs/readline-4.1 + >=gnome-base/gconf-0.11 + >=gnome-base/oaf-0.5.0 + >=dev-perl/CORBA-ORBit-0.4.3 + mysql? ( >=dev-db/mysql-3.23.26 ) + postgres? ( >=dev-db/postgresql-7.1 ) + odbc? ( >=dev-db/unixODBC-1.8.13 ) + ldap? ( >=net-nds/openldap-1.2.11 )" + +RDEPEND="virtual/glibc + >=gnome-base/gconf-0.11 + >=gnome-base/oaf-0.5.0 + >=sys-libs/gdbm-1.8.0 + >=sys-libs/readline-4.1 + mysql? ( >=dev-db/mysql-3.23.26 ) + postgres? ( >=dev-db/postgresql-7.1 ) + odbc? ( >=dev-db/unixODBC-1.8.13 ) + ldap? ( >=net-nds/openldap-1.2.11 )" + +src_compile() { + local myconf + if [ "`use mysql`" ] ; then + myconf="--with-mysql=/usr" + fi + if [ "`use ldap`" ] ; then + myconf="$myconf --with-ldap=/usr" + fi + if [ "`use odbc`" ]; then + myconf="$myconf --with-odbc" + fi + if [ "`use postgres`" ]; then + myconf="$myconf --with-postgres=/usr" + fi + + try ./configure --host=${CHOST} --prefix=/opt/gnome --sysconfdir=/etc/opt/gnome $myconf + try make LDFLAGS=\"-lncurses\" LIBREADLINE=\"-lreadline -lncurses\" # Doesn't work with -j 4 (hallski) +} + +src_install() { + try make prefix=${D}/opt/gnome sysconfdir=/etc/opt/gnome \ + PREFIX=${D}/usr INSTALLMAN3DIR=${D}/usr/share/man/man3 \ + GDA_oafinfodir=${D}/opt/gnome/share/oaf install + into /usr + dobin providers/gda-default-server/build_sqlite/{lemon,sqlite} + dodoc AUTHORS COPYING.* ChangeLog NEWS README +} + + + + |