summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-06-07 20:43:26 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-06-07 20:43:26 +0000
commitdd8b476ff28dec46fd50879c7075247e163b9349 (patch)
tree0bfd06fb5de056cd63cf2390c1b89384f40eec89 /gnome-extra/gnome-db/gnome-db-0.2.96.ebuild
parentAdded new libgtkhtml version. Deleted old stuffs. (diff)
downloadhistorical-dd8b476ff28dec46fd50879c7075247e163b9349.tar.gz
historical-dd8b476ff28dec46fd50879c7075247e163b9349.tar.bz2
historical-dd8b476ff28dec46fd50879c7075247e163b9349.zip
new version
Diffstat (limited to 'gnome-extra/gnome-db/gnome-db-0.2.96.ebuild')
-rw-r--r--gnome-extra/gnome-db/gnome-db-0.2.96.ebuild71
1 files changed, 71 insertions, 0 deletions
diff --git a/gnome-extra/gnome-db/gnome-db-0.2.96.ebuild b/gnome-extra/gnome-db/gnome-db-0.2.96.ebuild
new file mode 100644
index 000000000000..ea7259239650
--- /dev/null
+++ b/gnome-extra/gnome-db/gnome-db-0.2.96.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-db/gnome-db-0.2.96.ebuild,v 1.1 2002/06/07 20:43:26 azarah Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Framework for creating database applications"
+SRC_URI="ftp://ftp.gnome-db.org/pub/gnome-db/sources/latest/${P}.tar.gz
+ ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.gnome.org/gnome-office/gnomedb.shtml"
+SLOT="0"
+
+RDEPEND=">=gnome-base/bonobo-1.0.9-r1
+ >=gnome-extra/libgda-${PV}
+ >=gnome-extra/gal-0.13-r1
+ nls? ( sys-devel/gettext )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.11"
+
+
+src_compile() {
+ local myopts
+
+ if [ "`use nls`" ]
+ then
+ myopts="--enable-nls"
+ else
+ myopts="--disable-nls"
+ fi
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --disable-bonobotest \
+ ${myopts} || die
+ emake || die
+}
+
+src_install() {
+ cd ${S}/doc
+ cp Makefile Makefile.orig
+ sed -e "s:scrollkeeper-update.*::g" Makefile.orig > Makefile
+ rm -f Makefile.orig
+ cd ${S}
+
+ make prefix=${D}/usr \
+ sysconfdir=${D}/etc \
+ mandir=${D}/usr/share/man \
+ localstatedir=${D}/var/lib \
+ localedir=${D}/usr/share/locale \
+ GNOME_sysconfdir=${D}/etc \
+ GNOME_datadir=${D}/usr/share \
+ GNOMEDB_oafinfodir=${D}/usr/share/oaf \
+ GNOMEDB_oafdir=${D}/usr/share/oaf \
+ install || die
+ dodoc AUTHORS COPYING ChangeLog README
+}
+
+pkg_postinst() {
+ echo ">>> Updating Scrollkeeper database..."
+ scrollkeeper-update >/dev/null 2>&1
+}
+
+pkg_postrm() {
+ echo ">>> Updating Scrollkeeper database..."
+ scrollkeeper-update >/dev/null 2>&1
+}
+