mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
python-imaging: fix #!/usr/local/bin/python problem
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user