summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-02-03 19:48:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-04 11:35:41 +0000
commit5925bfe4122d3fb883a8bab258ec2f570c5e10cb (patch)
treeb8a3369181726ff0fa82eb860a07bd5ce030880e
parentda2e820471bb72ac72ff190183a826da85df894e (diff)
downloadpoky-5925bfe4122d3fb883a8bab258ec2f570c5e10cb.tar.gz
ttf-bitstream-vera: cleanup recipe
(From OE-Core rev: f1f09f16911c4d9c6510aaa0acf88b100a08fa27) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb34
1 files changed, 14 insertions, 20 deletions
diff --git a/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb b/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb
index b2e4cef39d..70b32cf8f1 100644
--- a/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb
+++ b/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb
@@ -13,26 +13,20 @@ inherit fontcache
13 13
14FONT_PACKAGES = "${PN}" 14FONT_PACKAGES = "${PN}"
15 15
16SRC_URI = "${GNOME_MIRROR}/ttf-bitstream-vera/1.10/ttf-bitstream-vera-${PV}.tar.bz2" 16SRC_URI = "${GNOME_MIRROR}/ttf-bitstream-vera/1.10/ttf-bitstream-vera-${PV}.tar.bz2"
17 17SRC_URI[md5sum] = "bb22bd5b4675f5dbe17c6963d8c00ed6"
18do_install () { 18SRC_URI[sha256sum] = "db5b27df7bbb318036ebdb75acd3e98f1bd6eb6608fb70a67d478cd243d178dc"
19 install -d ${D}${prefix}/share/fonts/ttf/
20 for i in *.ttf; do
21 install -m 644 $i ${D}${prefix}/share/fonts/ttf/${i}
22 done
23
24 # fontconfig ships this too. not sure what to do about it.
25 #install -d ${D}${sysconfdir}/fonts
26 #install -m 644 local.conf ${D}${sysconfdir}/fonts/local.conf
27
28 19
29 install -d ${D}${prefix}/share/doc/${BPN}/ 20do_install () {
30 for i in *.TXT; do 21 install -d ${D}${datadir}/fonts/ttf
31 install -m 644 $i ${D}${prefix}/share/doc/${BPN}/$i 22 for i in *.ttf; do
32 done 23 install -m 644 $i ${D}${datadir}/fonts/ttf
33} 24 done
34 25
35FILES_${PN} = "/etc ${datadir}/fonts" 26 install -d ${D}${docdir}/${BPN}
27 for i in *.TXT; do
28 install -m 644 $i ${D}${docdir}/${BPN}
29 done
30}
36 31
37SRC_URI[md5sum] = "bb22bd5b4675f5dbe17c6963d8c00ed6" 32FILES_${PN} = "${datadir}/fonts"
38SRC_URI[sha256sum] = "db5b27df7bbb318036ebdb75acd3e98f1bd6eb6608fb70a67d478cd243d178dc"