[oe-commits] Jackie Huang : python-imaging: fix PN -> BPN in do_install for multilibs

git at git.openembedded.org git at git.openembedded.org
Sat Mar 16 17:52:27 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 9dbff379575e6f5fdc07412906848134b2739598
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9dbff379575e6f5fdc07412906848134b2739598

Author: Jackie Huang <jackie.huang at windriver.com>
Date:   Fri Mar 15 16:04:00 2013 +0800

python-imaging: fix PN -> BPN in do_install for multilibs

Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../python/python-imaging_1.1.7.bb                 |    8 ++++----
 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 a36c344..de0e975 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}/*





More information about the Openembedded-commits mailing list