[oe-commits] Koen Kooi : python-imaging: fix #!/usr/local/bin/python problem
git at git.openembedded.org
git at git.openembedded.org
Fri Jan 20 11:32:08 UTC 2012
Module: meta-openembedded.git
Branch: master
Commit: 3b80f538d9055f54b125d4f663ca147098674cce
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=3b80f538d9055f54b125d4f663ca147098674cce
Author: Koen Kooi <koen at dominion.thruhere.net>
Date: Thu Jan 19 10:13:29 2012 +0100
python-imaging: fix #!/usr/local/bin/python problem
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
.../python/python-imaging_1.1.7.bb | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/meta-oe/recipes-devtools/python/python-imaging_1.1.7.bb b/meta-oe/recipes-devtools/python/python-imaging_1.1.7.bb
index 851c53f..c8dd814 100644
--- a/meta-oe/recipes-devtools/python/python-imaging_1.1.7.bb
+++ b/meta-oe/recipes-devtools/python/python-imaging_1.1.7.bb
@@ -1,6 +1,8 @@
DESCRIPTION = "Python Imaging Library"
SECTION = "devel/python"
+PR = "r1"
+
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://README;beginline=92;endline=117;md5=003338c482e1d2eb2e4d862897f3abbf"
@@ -31,6 +33,9 @@ do_install() {
install -m 0644 ${S}/README ${D}${datadir}/doc/${PN}/
install -m 0644 ${S}/Docs/* ${D}${datadir}/doc/${PN}/html/
+ # get rid of #!/usr/local/bin/python
+ sed -i -e 's:/usr/local/bin/:${bindir}/env :g' ${D}${bindir}/*
+
}
RDEPENDS_${PN} = "python-lang python-stringold"
More information about the Openembedded-commits
mailing list