summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/gnome-python/gnome-python-1.4.4.ebuild')
-rw-r--r--dev-python/gnome-python/gnome-python-1.4.4.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/gnome-python/gnome-python-1.4.4.ebuild b/dev-python/gnome-python/gnome-python-1.4.4.ebuild
new file mode 100644
index 000000000000..1d66ee73b24d
--- /dev/null
+++ b/dev-python/gnome-python/gnome-python-1.4.4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-python/gnome-python-1.4.4.ebuild,v 1.1 2003/02/09 18:56:50 foser Exp $
+
+inherit gnome.org
+
+IUSE="gnome opengl"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="gnome-python"
+HOMEPAGE="http://www.daa.com.au/~james/gnome/"
+
+DEPEND="virtual/python
+ =x11-libs/gtk+-1.2*
+ >=media-libs/imlib-1.9.10-r1
+ gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1
+ <gnome-base/libglade-1.90.0
+ <gnome-base/control-center-1.90.0 )
+ opengl? ( <x11-libs/gtkglarea-1.99.0 )"
+RDEPEND="${RDEPEND}"
+
+SLOT="1"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha"
+LICENSE="GPL-2"
+
+src_compile() {
+ if [ -n "`use gnome`" ]
+ then
+ CFLAGS="${CFLAGS} `gnome-config capplet --cflags`" \
+ econf ${myopts} || die
+ else
+ cd ${S}/pygtk
+ econf ${myopts} || die
+ fi
+ make || die
+}
+
+src_install() {
+
+ if [ -n "`use gnome`" ]
+ then
+ cd ${S}/pygnome
+ make prefix=${D}/usr datadir=${D}/usr/share install || die
+
+ dodoc AUTHORS COPYING* ChangeLog NEWS MAPPING
+ dodoc README*
+
+ cd ${S}/pygnome
+ docinto pygnome
+ dodoc COPYING
+ fi
+
+ cd ${S}/pygtk
+ make prefix=${D}/usr datadir=${D}/usr/share install || die
+
+ cd ${S}/pygtk
+ docinto pygtk
+ dodoc AUTHORS COPYING ChangeLog NEWS MAPPING README
+}