summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-03-23 00:52:28 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-03-23 00:52:28 +0000
commit09f861ff3a1ef27e12fa60c69a5979054693a654 (patch)
tree354a280a93b6f249d57f6c27627e99b986c2a3bf /gnome-extra/gnome-db
parentMajor rework. #544, #1244 (diff)
downloadgentoo-2-09f861ff3a1ef27e12fa60c69a5979054693a654.tar.gz
gentoo-2-09f861ff3a1ef27e12fa60c69a5979054693a654.tar.bz2
gentoo-2-09f861ff3a1ef27e12fa60c69a5979054693a654.zip
Added USE dependent nls compilation.
Diffstat (limited to 'gnome-extra/gnome-db')
-rw-r--r--gnome-extra/gnome-db/ChangeLog9
-rw-r--r--gnome-extra/gnome-db/files/digest-gnome-db-0.2.95-r21
-rw-r--r--gnome-extra/gnome-db/gnome-db-0.2.95-r2.ebuild70
3 files changed, 79 insertions, 1 deletions
diff --git a/gnome-extra/gnome-db/ChangeLog b/gnome-extra/gnome-db/ChangeLog
index e2d16a9ae088..7dfaaf854ca8 100644
--- a/gnome-extra/gnome-db/ChangeLog
+++ b/gnome-extra/gnome-db/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for gnome-extra/gnome-db
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-db/ChangeLog,v 1.1 2002/02/01 21:53:29 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-db/ChangeLog,v 1.2 2002/03/23 00:52:28 seemant Exp $
+
+*gnome-db-0.2.95-r2 (22 Mar 2002)
+
+ 22 Mar 2002; Seemant Kulleen <seemant@gentoo.org> gnome-db-0.2.95-r2.ebuild :
+
+ Added USE dependent NLS compilation, from a patch submitted by Matthew
+ Kennedy.
*gnome-db-0.2.95-r1 (1 Feb 2002)
diff --git a/gnome-extra/gnome-db/files/digest-gnome-db-0.2.95-r2 b/gnome-extra/gnome-db/files/digest-gnome-db-0.2.95-r2
new file mode 100644
index 000000000000..96d0f7172d00
--- /dev/null
+++ b/gnome-extra/gnome-db/files/digest-gnome-db-0.2.95-r2
@@ -0,0 +1 @@
+MD5 134fde33eaed637635b534a9980ae769 gnome-db-0.2.95.tar.gz 954064
diff --git a/gnome-extra/gnome-db/gnome-db-0.2.95-r2.ebuild b/gnome-extra/gnome-db/gnome-db-0.2.95-r2.ebuild
new file mode 100644
index 000000000000..58b405578011
--- /dev/null
+++ b/gnome-extra/gnome-db/gnome-db-0.2.95-r2.ebuild
@@ -0,0 +1,70 @@
+# 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.95-r2.ebuild,v 1.1 2002/03/23 00:52:28 seemant 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"
+
+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
+}
+