mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 23:39:40 +01:00
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:
22
meta-extras/packages/python/fix-path.inc
Normal file
22
meta-extras/packages/python/fix-path.inc
Normal 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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user