summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-10-06 12:36:36 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-10-06 12:36:36 +0000
commitb403cadc40b4b29635561d6a99b1dd0b9142d5ca (patch)
tree450d97c1bc5e168f4b1f253ab6dd8cb65b7bce6b /app-office/gaby
parentnew incoming, new version of previous incoming (diff)
downloadgentoo-2-b403cadc40b4b29635561d6a99b1dd0b9142d5ca.tar.gz
gentoo-2-b403cadc40b4b29635561d6a99b1dd0b9142d5ca.tar.bz2
gentoo-2-b403cadc40b4b29635561d6a99b1dd0b9142d5ca.zip
move gtk+ apps to /usr and use gtk+-1.2.10-r4, #4
Diffstat (limited to 'app-office/gaby')
-rw-r--r--app-office/gaby/files/digest-gaby-2.0.2-r1 (renamed from app-office/gaby/files/digest-gaby-2.0.2)0
-rw-r--r--app-office/gaby/gaby-2.0.2-r1.ebuild78
2 files changed, 78 insertions, 0 deletions
diff --git a/app-office/gaby/files/digest-gaby-2.0.2 b/app-office/gaby/files/digest-gaby-2.0.2-r1
index 3645407c2efa..3645407c2efa 100644
--- a/app-office/gaby/files/digest-gaby-2.0.2
+++ b/app-office/gaby/files/digest-gaby-2.0.2-r1
diff --git a/app-office/gaby/gaby-2.0.2-r1.ebuild b/app-office/gaby/gaby-2.0.2-r1.ebuild
new file mode 100644
index 000000000000..d4d115c6a97c
--- /dev/null
+++ b/app-office/gaby/gaby-2.0.2-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Craig Joly <joly@ee.ualberta.ca>
+# $Header: /var/cvsroot/gentoo-x86/app-office/gaby/gaby-2.0.2-r1.ebuild,v 1.1 2001/10/06 12:36:36 azarah Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A small personal databases manager for Linux"
+SRC_URI="http://gaby.sourceforge.net/archives/${P}.tar.gz"
+HOMEPAGE="http://gaby.sourceforge.net"
+
+DEPEND=">=x11-libs/gtk+-1.2.10-r4
+ virtual/python
+ >=media-libs/gdk-pixbuf-0.11.0-r1
+ dev-libs/libxml
+ dev-python/gnome-python
+ >=gnome-base/libglade-0.17-r1
+ gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )
+ esd? ( >=media-sound/esound-0.2.8 )
+ nls? ( sys-devel/gettext )"
+
+# Image fields require ( >= (media-libs/imlib-1.9.10-r1 ||
+# media-libs/gdk-pixbuf-0.11.0-r1 ))
+# Sound fields require ( >=media-sound/esound-0.2.8 )
+# form layout requires ( >=gnome-base/libglade-0.17-r1 )
+
+src_compile() {
+
+ local myopts
+
+ if [ "`use gnome`" ]
+ then
+ myopts="--enable-gnome"
+ else
+ myopts="--disable-gnome"
+ fi
+
+ if [ -z "`use nls`" ]
+ then
+ myopts="$myopts --disable-nls"
+ fi
+
+ cp ${FILESDIR}/Makefile.in intl/Makefile.in
+
+ cp configure configure.orig
+ sed -e "7293 c\ if test -f /usr/include/pygtk/pygtk.h; then" \
+ < configure.orig > configure
+
+ try ./configure --host=${CHOST} ${myopts} --prefix=/usr
+
+ cd src
+ cp Makefile Makefile.orig
+ sed -e "s:install-exec-local::" \
+ -e "s:^\::gentoo change\::" Makefile.orig > Makefile
+ cd ..
+
+ try emake
+
+}
+
+src_install () {
+
+ try make DESTDIR=${D} install
+
+ dosym gaby ${prefix}/bin/gbc
+ dosym gaby ${prefix}/bin/gcd
+ dosym gaby ${prefix}/bin/videobase
+ dosym gaby ${prefix}/bin/gnomecard
+ dosym gaby ${prefix}/bin/appindex
+
+ dodoc ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS
+ dodoc README TODO TODO.more
+
+ insinto ${prefix}/share/pixmaps
+ insopt -m 0644
+ doins gnome-gaby-builder.png gnome-gaby.png
+
+}
+