summaryrefslogtreecommitdiff
path: root/vera-fonts
diff options
context:
space:
mode:
Diffstat (limited to 'vera-fonts')
-rw-r--r--vera-fonts/ttf-bitstream-vera_1.10.oe31
1 files changed, 31 insertions, 0 deletions
diff --git a/vera-fonts/ttf-bitstream-vera_1.10.oe b/vera-fonts/ttf-bitstream-vera_1.10.oe
index e69de29bb2..f423fa0264 100644
--- a/vera-fonts/ttf-bitstream-vera_1.10.oe
+++ b/vera-fonts/ttf-bitstream-vera_1.10.oe
@@ -0,0 +1,31 @@
+DESCRIPTION = "The Bitstream Vera fonts - TTF Edition"
+SECTION = "fonts"
+PRIORITY = "optional"
+
+SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-${PV}.tar.bz2"
+
+
+FILES_${PN} = "/etc /usr/share/fonts"
+
+
+do_install () {
+ install -d ${D}${prefix}/share/fonts/ttf/
+ for i in *.ttf; do
+ install -m 644 $i ${D}${prefix}/share/fonts/ttf/${i}
+ done
+
+ # fontconfig ships this too. not sure what to do about it.
+ #install -d ${D}/etc/fonts
+ #install -m 644 local.conf ${D}/etc/fonts/local.conf
+
+
+ install -d ${D}${prefix}/share/doc/${PN}/
+ for i in *.TXT; do
+ install -m 644 $i ${D}${prefix}/share/doc/${PN}/$i
+ done
+}
+
+pkg_postinst () {
+#!/bin/sh
+fc-cache
+}