diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-08-08 07:42:45 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-08-08 07:42:45 +0000 |
commit | acb222dfc613df9de644a8c890d7b31c5d572d8c (patch) | |
tree | 95e27b72bdffaa8d4a31d129ba8fd87f8cee5362 /meta/packages/ttf-fonts/liberation-fonts_1.04.bb | |
parent | 5c93b2c098dc0bd65888c124f99c14fa1bae5ad9 (diff) | |
download | poky-acb222dfc613df9de644a8c890d7b31c5d572d8c.tar.gz |
liberation-fonts: update to 1.04 from Fedora
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5031 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/ttf-fonts/liberation-fonts_1.04.bb')
-rw-r--r-- | meta/packages/ttf-fonts/liberation-fonts_1.04.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/packages/ttf-fonts/liberation-fonts_1.04.bb b/meta/packages/ttf-fonts/liberation-fonts_1.04.bb new file mode 100644 index 0000000000..33bf2a98c0 --- /dev/null +++ b/meta/packages/ttf-fonts/liberation-fonts_1.04.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | DESCRIPTION = "The fonts - TTF Edition" | ||
2 | SECTION = "x11/fonts" | ||
3 | PRIORITY = "optional" | ||
4 | LICENSE = "GPLv2" | ||
5 | PACKAGE_ARCH = "all" | ||
6 | RDEPENDS = "fontconfig-utils" | ||
7 | PE = "1" | ||
8 | |||
9 | SRC_URI = "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-${PV}.tar.gz \ | ||
10 | file://30-liberation-aliases.conf" | ||
11 | |||
12 | do_install () { | ||
13 | install -d ${D}${datadir}/fonts/ttf/ | ||
14 | for i in *.ttf; do | ||
15 | install -m 0644 $i ${D}${prefix}/share/fonts/ttf/${i} | ||
16 | done | ||
17 | |||
18 | install -d ${D}${sysconfdir}/fonts/conf.d/ | ||
19 | install -m 0644 ${WORKDIR}/30-liberation-aliases.conf ${D}${sysconfdir}/fonts/conf.d/ | ||
20 | |||
21 | install -d ${D}${prefix}/share/doc/${PN}/ | ||
22 | install -m 0644 License.txt ${D}${datadir}/doc/${PN}/ | ||
23 | } | ||
24 | |||
25 | pkg_postinst () { | ||
26 | #!/bin/sh | ||
27 | fc-cache | ||
28 | } | ||
29 | |||
30 | PACKAGES = "${PN}" | ||
31 | FILES_${PN} += "${sysconfdir} ${datadir}" | ||