python-pygtk: upgrade to 2.10.4 from OE and add PROVIDES to keep compability

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3183 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz
2007-11-15 14:12:31 +00:00
parent f11feacddf
commit 478a35dd7d
6 changed files with 170 additions and 28 deletions

View File

@@ -0,0 +1,22 @@
do_install_append() {
for i in `find ${D} -name "*.py"` ; do \
sed -i -e s:${D}::g $i
done
for i in `find ${D} -name "*.la"` ; do \
sed -i -e s:${STAGING_LIBDIR}:${libdir}:g $i
done
if test -e ${D}${bindir} ; then
for i in ${D}${bindir}/* ; do \
sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
done
fi
if test -e ${D}${sbindir} ; then
for i in ${D}${sbindir}/* ; do \
sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
done
fi
}