diff options
author | Ross Burton <ross.burton@intel.com> | 2015-02-03 19:48:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-04 11:35:41 +0000 |
commit | 5925bfe4122d3fb883a8bab258ec2f570c5e10cb (patch) | |
tree | b8a3369181726ff0fa82eb860a07bd5ce030880e | |
parent | da2e820471bb72ac72ff190183a826da85df894e (diff) | |
download | poky-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.bb | 34 |
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 | ||
14 | FONT_PACKAGES = "${PN}" | 14 | FONT_PACKAGES = "${PN}" |
15 | 15 | ||
16 | SRC_URI = "${GNOME_MIRROR}/ttf-bitstream-vera/1.10/ttf-bitstream-vera-${PV}.tar.bz2" | 16 | SRC_URI = "${GNOME_MIRROR}/ttf-bitstream-vera/1.10/ttf-bitstream-vera-${PV}.tar.bz2" |
17 | 17 | SRC_URI[md5sum] = "bb22bd5b4675f5dbe17c6963d8c00ed6" | |
18 | do_install () { | 18 | SRC_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}/ | 20 | do_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 | ||
35 | FILES_${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 | ||
37 | SRC_URI[md5sum] = "bb22bd5b4675f5dbe17c6963d8c00ed6" | 32 | FILES_${PN} = "${datadir}/fonts" |
38 | SRC_URI[sha256sum] = "db5b27df7bbb318036ebdb75acd3e98f1bd6eb6608fb70a67d478cd243d178dc" | ||