DEPENDS = "gtk+-1.2"
RDEPENDS = "python-shell python-re"
SRCNAME = "pygtk"
-PR = "ml0"
+PR = "r1"
SRC_URI = "ftp://ftp.gtk.org/pub/gtk/python/v1.2/${SRCNAME}-${PV}.tar.gz \
- file://remove-imlib-et-al;patch=1"
+ file://remove-imlib-et-al;patch=1 \
+ file://acinclude.m4"
+
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit autotools pkgconfig distutils-base
+EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"
+
FILES_${PN} = "${libdir}/${PYTHON_DIR}/"
do_configure_prepend() {
+ install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/
echo ${LDFLAGS} > /tmp/ldflags
rm -f aclocal.m4
}