summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/python/python-imaging_1.1.7.bb
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2013-03-15 16:04:00 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-16 17:13:46 +0000
commit9dbff379575e6f5fdc07412906848134b2739598 (patch)
tree2974d35787d49b4e5e3a90809b3f703cc7356aeb /meta/recipes-devtools/python/python-imaging_1.1.7.bb
parenteca6309556086f8c6b0e8525749477c8210f83b0 (diff)
downloadopenembedded-core-9dbff379575e6f5fdc07412906848134b2739598.tar.gz
openembedded-core-9dbff379575e6f5fdc07412906848134b2739598.tar.bz2
openembedded-core-9dbff379575e6f5fdc07412906848134b2739598.zip
python-imaging: fix PN -> BPN in do_install for multilibs
Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-imaging_1.1.7.bb')
-rw-r--r--meta/recipes-devtools/python/python-imaging_1.1.7.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/python/python-imaging_1.1.7.bb b/meta/recipes-devtools/python/python-imaging_1.1.7.bb
index a36c34462a..de0e975127 100644
--- a/meta/recipes-devtools/python/python-imaging_1.1.7.bb
+++ b/meta/recipes-devtools/python/python-imaging_1.1.7.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://README;beginline=92;endline=120;md5=c4371af4579f1e489cf881c1443dd4ec"
DEPENDS = "freetype jpeg tiff"
SRCNAME = "Imaging"
-PR = "r4"
+PR = "r5"
SRC_URI = "http://effbot.org/downloads/Imaging-${PV}.tar.gz \
file://0001-python-imaging-setup.py-force-paths-for-zlib-freetyp.patch"
@@ -25,9 +25,9 @@ do_install() {
export STAGING_LIBDIR=${STAGING_LIBDIR}
export STAGING_INCDIR=${STAGING_INCDIR}
distutils_do_install
- install -d ${D}${datadir}/doc/${PN}/html/
- install -m 0644 ${S}/README ${D}${datadir}/doc/${PN}/
- install -m 0644 ${S}/Docs/* ${D}${datadir}/doc/${PN}/html/
+ install -d ${D}${datadir}/doc/${BPN}/html/
+ install -m 0644 ${S}/README ${D}${datadir}/doc/${BPN}/
+ install -m 0644 ${S}/Docs/* ${D}${datadir}/doc/${BPN}/html/
# get rid of #!/usr/local/bin/python
sed -i -e 's:/usr/local/bin/:${bindir}/env :g' ${D}${bindir}/*