ttf-fonts: fix PN -> BPN in do_install for multilibs

(From OE-Core rev: 7720c356534e46614578619d5a8f0462485b81f6)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jackie Huang 2013-03-15 16:04:02 +08:00 committed by Richard Purdie
parent ef2ce8faff
commit 72e77b82f7
3 changed files with 9 additions and 9 deletions

View File

@ -9,7 +9,7 @@ SECTION = "x11/fonts"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
RDEPENDS_${PN} = "fontconfig-utils"
PR = "r3"
PR = "r4"
PE = "1"
inherit allarch fontcache
@ -31,8 +31,8 @@ do_install () {
install -d ${D}${sysconfdir}/fonts/conf.d/
install -m 0644 ${WORKDIR}/30-liberation-aliases.conf ${D}${sysconfdir}/fonts/conf.d/
install -d ${D}${prefix}/share/doc/${PN}/
install -m 0644 License.txt ${D}${datadir}/doc/${PN}/
install -d ${D}${prefix}/share/doc/${BPN}/
install -m 0644 License.txt ${D}${datadir}/doc/${BPN}/
}
PACKAGES = "${PN}"

View File

@ -10,7 +10,7 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
RDEPENDS_${PN} = "fontconfig-utils"
PE = "1"
PR = "r2"
PR = "r3"
FONTREV = "0.20100721"
SRC_URI = "https://fedorahosted.org/releases/l/i/${BPN}/${BPN}-${PV}.${FONTREV}.tar.gz \
@ -29,8 +29,8 @@ do_install () {
install -d ${D}${sysconfdir}/fonts/conf.d/
install -m 0644 ${WORKDIR}/30-liberation-aliases.conf ${D}${sysconfdir}/fonts/conf.d/
install -d ${D}${prefix}/share/doc/${PN}/
install -m 0644 License.txt ${D}${datadir}/doc/${PN}/
install -d ${D}${prefix}/share/doc/${BPN}/
install -m 0644 License.txt ${D}${datadir}/doc/${BPN}/
}
pkg_postinst_${PN} () {

View File

@ -7,7 +7,7 @@ but is visibly different than normal and bold, and reasonably pleasing."
SECTION = "x11/fonts"
LICENSE = "BitstreamVera"
LIC_FILES_CHKSUM = "file://COPYRIGHT.TXT;md5=27d7484b1e18d0ee4ce538644a3f04be"
PR = "r6"
PR = "r7"
RDEPENDS_${PN} = "fontconfig-utils"
inherit allarch
@ -25,9 +25,9 @@ do_install () {
#install -m 644 local.conf ${D}${sysconfdir}/fonts/local.conf
install -d ${D}${prefix}/share/doc/${PN}/
install -d ${D}${prefix}/share/doc/${BPN}/
for i in *.TXT; do
install -m 644 $i ${D}${prefix}/share/doc/${PN}/$i
install -m 644 $i ${D}${prefix}/share/doc/${BPN}/$i
done
}