summaryrefslogtreecommitdiff
path: root/python/python-pygtk-0_0.6.12.oe
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-pygtk-0_0.6.12.oe')
-rw-r--r--python/python-pygtk-0_0.6.12.oe30
1 files changed, 30 insertions, 0 deletions
diff --git a/python/python-pygtk-0_0.6.12.oe b/python/python-pygtk-0_0.6.12.oe
index e69de29bb2..24289a09a5 100644
--- a/python/python-pygtk-0_0.6.12.oe
+++ b/python/python-pygtk-0_0.6.12.oe
@@ -0,0 +1,30 @@
+LICENSE = LGPL
+DESCRIPTION = "Python GTK+ 1.2 Bindings"
+SECTION = "devel/python"
+PRIORITY = "optional"
+MAINTAINER = "Rob Taylor <robtaylor@fastmail.fm>"
+DEPENDS = "gtk+-1.2 python"
+RDEPENDS = "python-core python-shell python-re"
+SRCNAME = "pygtk"
+PR = "r4"
+
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/python-pygtk-${PV}"
+
+
+SRC_URI = "ftp://ftp.gtk.org/pub/gtk/python/v1.2/${SRCNAME}-${PV}.tar.gz \
+ file://remove-imlib-et-al;patch=1"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit autotools pkgconfig
+
+FILES_${PN} = "${libdir}/python2.3/"
+
+do_configure_prepend() {
+ echo ${LDFLAGS} > /tmp/ldflags
+ rm aclocal.m4
+}
+
+do_stage() {
+ autotools_stage_includes
+}
+