From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/opie-ttf-support/opie-ttf-support_1.1.bb | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 recipes/opie-ttf-support/opie-ttf-support_1.1.bb (limited to 'recipes/opie-ttf-support/opie-ttf-support_1.1.bb') diff --git a/recipes/opie-ttf-support/opie-ttf-support_1.1.bb b/recipes/opie-ttf-support/opie-ttf-support_1.1.bb new file mode 100644 index 0000000000..18ce7ac0c9 --- /dev/null +++ b/recipes/opie-ttf-support/opie-ttf-support_1.1.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Meta-package for Opie TTF support" +SECTION = "opie/fonts" +DEPENDS = "freetype" +PR = "r5" + +SRC_URI = "file://update-qtttffontdir.c \ + file://02qtttffont-update" +S = "${WORKDIR}" + +do_compile() { + ${CC} ${CFLAGS} ${LDFLAGS} -I${STAGING_INCDIR}/freetype2 -lfreetype -o update-qtttffontdir update-qtttffontdir.c +} + +do_install() { + install -d ${D}${sbindir} + install -d ${D}${sysconfdir}/update-fonts-common.d/ + install -m 0755 update-qtttffontdir ${D}${sbindir} + install -m 0755 02qtttffont-update ${D}${sysconfdir}/update-fonts-common.d/ + sed -i 's!@@SBINDIR@@!${sbindir}!g' ${D}${sysconfdir}/update-fonts-common.d/02qtttffont-update + sed -i 's!@@PALMTOPDIR@@!${palmtopdir}!g' ${D}${sysconfdir}/update-fonts-common.d/02qtttffont-update + sed -i 's!@@DATADIR@@!${datadir}!g' ${D}${sysconfdir}/update-fonts-common.d/02qtttffont-update +} + +pkg_postinst() { + ${sysconfdir}/update-fonts-common.d/02qtttffont-update +} -- cgit 1.2.3-korg