From 9f0027dae2ab40b871b73ee5df1add1c3238f732 Mon Sep 17 00:00:00 2001 From: Achim Gottinger Date: Wed, 6 Jun 2001 16:55:51 +0000 Subject: *** empty log message *** --- gnome-office/gnome-db/files/digest-gnome-db-0.2.9 | 1 + gnome-office/gnome-db/gnome-db-0.2.9.ebuild | 37 +++++++++++++ gnome-office/gnumeric/gnumeric-0.65.ebuild | 65 +++++++++++++++++------ 3 files changed, 86 insertions(+), 17 deletions(-) create mode 100644 gnome-office/gnome-db/files/digest-gnome-db-0.2.9 create mode 100644 gnome-office/gnome-db/gnome-db-0.2.9.ebuild (limited to 'gnome-office') diff --git a/gnome-office/gnome-db/files/digest-gnome-db-0.2.9 b/gnome-office/gnome-db/files/digest-gnome-db-0.2.9 new file mode 100644 index 000000000000..e5856d5f798e --- /dev/null +++ b/gnome-office/gnome-db/files/digest-gnome-db-0.2.9 @@ -0,0 +1 @@ +MD5 44eebf935cf0a716e9f75e3551e59a2b gnome-db-0.2.9.tar.gz diff --git a/gnome-office/gnome-db/gnome-db-0.2.9.ebuild b/gnome-office/gnome-db/gnome-db-0.2.9.ebuild new file mode 100644 index 000000000000..d1055b4f274b --- /dev/null +++ b/gnome-office/gnome-db/gnome-db-0.2.9.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger +# /home/cvsroot/gentoo-x86/gnome-office/gnome-db/gnome-db-0.2.3.ebuild,v 1.1 2001/04/29 16:17:43 achim Exp + +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Framework for creating database applications" +SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${A}" +HOMEPAGE="http://www.gnome.org/gnome-office/gnomedb.shtml" + +DEPEND=">=gnome-base/bonobo-0.30 + >=gnome-libs/libgda-0.2.3 + >=gnome-base/gal-0.8 + >=dev-util/xml-i18n-tools-0.8.4" + +RDEPEND=">=gnome-base/bonobo-0.30 + >=gnome-libs/libgda-0.2.3" + +src_compile() { + + try ./configure --host=${CHOST} --prefix=/opt/gnome --sysconfdir=/etc/opt/gnome \ + --datadir=/opt/gnome/share --disable-bonobotest + try make +} + +src_install() { + try make prefix=${D}/opt/gnome \ + GNOME_sysconfdir=${D}/opt/gnome/etc \ + GNOME_datadir=${D}/opt/gnome/share \ + GNOMEDB_oafinfodir=${D}/opt/gnome/share/oaf \ + install + dodoc AUTHORS COPYING ChangeLog README +} + + + diff --git a/gnome-office/gnumeric/gnumeric-0.65.ebuild b/gnome-office/gnumeric/gnumeric-0.65.ebuild index af8e6c8c239e..e851cabddcfc 100644 --- a/gnome-office/gnumeric/gnumeric-0.65.ebuild +++ b/gnome-office/gnumeric/gnumeric-0.65.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger -# $Header: /var/cvsroot/gentoo-x86/gnome-office/gnumeric/gnumeric-0.65.ebuild,v 1.1 2001/06/04 10:34:15 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-office/gnumeric/gnumeric-0.65.ebuild,v 1.2 2001/06/06 16:55:51 achim Exp $ A=${P}.tar.gz S=${WORKDIR}/${P} @@ -9,13 +9,22 @@ DESCRIPTION="gnumeric" SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnumeric/"${A} HOMEPAGE="http://www.gnome.org/gnome-office/gnumeric.shtml" -DEPEND=">=sys-devel/perl-5 - >=dev-lang/python-2.0 - >=gnome-base/gal-0.3.0 - >=gnome-libs/gb-0.0.17 - >=gnome-libs/libole2-0.1.7 - bonobo? ( >=gnome-base/bonobo-0.28 - >=gnome-libs/libgda-0.2.0 ) " +DEPEND=">=gnome-base/gnome-print-0.29 + >=gnome-base/gal-0.8.0 + >=gnome-libs/libole2-0.2.3 + >=dev-util/xml-i18n-tools-0.8.4 + perl? ( >=sys-devel/perl-5 ) + python? ( >=dev-lang/python-2.0 ) + gb? ( >=gnome-libs/gb-0.0.19 ) + libgda? ( >=gnome-libs/libgda-0.2.9 ) + nls? ( sys-devel/gettext ) + bonobo? ( >=gnome-base/bonobo-1.0 )" + +RDEPEND=">=gnome-base/gnome-print-0.29 + >=gnome-base/gal-0.8.0 + gb? ( >=gnome-libs/gb-0.0.19 ) + libgda? ( >=gnome-libs/libgda-0.2.9 ) + bonobo? ( >=gnome-base/bonobo-1.0 ) " src_unpack() { unpack ${A} @@ -24,21 +33,43 @@ src_unpack() { sed -e 's:"%d,:"%d",:' configure.orig > configure } -src_compile() { - cd ${S} +src_compile() { local myconf - if [ "`use bonobo`" ] - then - myconf="--with-bonobo" + if [ -z "`use nls`" ] ; then + myconf="--disable-nls" + fi + if [ "`use bonobo`" ] ; then + myconf="$myconf --with-bonobo" + else + myconf="$myconf --without-bonobo" + fi + if [ "`use gb`" ]; then + #does not work atm + myconf="$myconf --without-gb" + else + myconf="$myconf --without-gb" fi - LDFLAGS="-L/opt/gnome/lib -lunicode" try ./configure --host=${CHOST} --prefix=/opt/gnome \ - ${myconf} --with-gb + if [ "`use perl`" ]; then + myconf="$myconf --with-perl" + else + myconf="$myconf --without-perl" + fi + if [ "`use python`" ]; then + myconf="$myconf --with-python" + else + myconf="$myconf --without-python" + fi + if [ "`use libgda`" ]; then + myconf="$myconf --with-gda" + else + myconf="$myconf --without-gda" + fi + try ./configure --host=${CHOST} --prefix=/opt/gnome ${myconf} cd ${S} try make } -src_install() { - cd ${S} +src_install() { try make prefix=${D}/opt/gnome PREFIX=${D}/usr install dodoc AUTHORS COPYING *ChangeLog HACKING NEWS README TODO -- cgit v1.2.3-65-gdbad