From cdf70f4723feb9e25555388b613030fc59fe9a67 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Tue, 26 Jun 2007 09:25:56 +0000 Subject: vera-fonts: renamed to ttf-fonts as I plan to add few more fonts git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2003 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/ttf-fonts/ttf-bitstream-vera_1.10.bb | 34 ++++++++++++++++++++++ .../packages/vera-fonts/ttf-bitstream-vera_1.10.bb | 34 ---------------------- 2 files changed, 34 insertions(+), 34 deletions(-) create mode 100644 meta/packages/ttf-fonts/ttf-bitstream-vera_1.10.bb delete mode 100644 meta/packages/vera-fonts/ttf-bitstream-vera_1.10.bb (limited to 'meta') diff --git a/meta/packages/ttf-fonts/ttf-bitstream-vera_1.10.bb b/meta/packages/ttf-fonts/ttf-bitstream-vera_1.10.bb new file mode 100644 index 0000000000..a6f4cd62fb --- /dev/null +++ b/meta/packages/ttf-fonts/ttf-bitstream-vera_1.10.bb @@ -0,0 +1,34 @@ +DESCRIPTION = "The Bitstream Vera fonts - TTF Edition" +SECTION = "x11/fonts" +PRIORITY = "optional" +LICENSE = "Bitstream Vera" +PACKAGE_ARCH = "all" +PR = "r3" +RDEPENDS = "fontconfig-utils" + +SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-${PV}.tar.bz2" + +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}${sysconfdir}/fonts + #install -m 644 local.conf ${D}${sysconfdir}/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 +} + + +FILES_${PN} = "/etc ${datadir}/fonts" diff --git a/meta/packages/vera-fonts/ttf-bitstream-vera_1.10.bb b/meta/packages/vera-fonts/ttf-bitstream-vera_1.10.bb deleted file mode 100644 index a6f4cd62fb..0000000000 --- a/meta/packages/vera-fonts/ttf-bitstream-vera_1.10.bb +++ /dev/null @@ -1,34 +0,0 @@ -DESCRIPTION = "The Bitstream Vera fonts - TTF Edition" -SECTION = "x11/fonts" -PRIORITY = "optional" -LICENSE = "Bitstream Vera" -PACKAGE_ARCH = "all" -PR = "r3" -RDEPENDS = "fontconfig-utils" - -SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-${PV}.tar.bz2" - -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}${sysconfdir}/fonts - #install -m 644 local.conf ${D}${sysconfdir}/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 -} - - -FILES_${PN} = "/etc ${datadir}/fonts" -- cgit v1.2.3-54-g00ecf