mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
python-imaging: fix PN -> BPN in do_install for multilibs
(From OE-Core rev: 9dbff379575e6f5fdc07412906848134b2739598) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
abf8253b7a
commit
ef2ce8faff
@@ -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}/*
|
||||
|
||||
Reference in New Issue
Block a user