diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2012-01-19 10:13:29 +0100 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-01-20 12:22:19 +0100 |
| commit | 3b80f538d9055f54b125d4f663ca147098674cce (patch) | |
| tree | 2f18551d0b5caed6b05d6f718f74419a87089801 /meta-oe/recipes-devtools/python | |
| parent | 1ec5fa073fba7d2c63c15d4625fcd15362769fbf (diff) | |
| download | meta-openembedded-3b80f538d9055f54b125d4f663ca147098674cce.tar.gz | |
python-imaging: fix #!/usr/local/bin/python problem
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-devtools/python')
| -rw-r--r-- | meta-oe/recipes-devtools/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 851c53fe88..c8dd8147ce 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 @@ | |||
| 1 | DESCRIPTION = "Python Imaging Library" | 1 | DESCRIPTION = "Python Imaging Library" |
| 2 | SECTION = "devel/python" | 2 | SECTION = "devel/python" |
| 3 | 3 | ||
| 4 | PR = "r1" | ||
| 5 | |||
| 4 | LICENSE = "BSD" | 6 | LICENSE = "BSD" |
| 5 | LIC_FILES_CHKSUM = "file://README;beginline=92;endline=117;md5=003338c482e1d2eb2e4d862897f3abbf" | 7 | LIC_FILES_CHKSUM = "file://README;beginline=92;endline=117;md5=003338c482e1d2eb2e4d862897f3abbf" |
| 6 | 8 | ||
| @@ -31,6 +33,9 @@ do_install() { | |||
| 31 | install -m 0644 ${S}/README ${D}${datadir}/doc/${PN}/ | 33 | install -m 0644 ${S}/README ${D}${datadir}/doc/${PN}/ |
| 32 | install -m 0644 ${S}/Docs/* ${D}${datadir}/doc/${PN}/html/ | 34 | install -m 0644 ${S}/Docs/* ${D}${datadir}/doc/${PN}/html/ |
| 33 | 35 | ||
| 36 | # get rid of #!/usr/local/bin/python | ||
| 37 | sed -i -e 's:/usr/local/bin/:${bindir}/env :g' ${D}${bindir}/* | ||
| 38 | |||
| 34 | } | 39 | } |
| 35 | RDEPENDS_${PN} = "python-lang python-stringold" | 40 | RDEPENDS_${PN} = "python-lang python-stringold" |
| 36 | 41 | ||
