diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-07-24 17:57:24 +0100 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-07-30 02:35:12 +0100 |
commit | e9b45ff67d32fdc27950a51135b6dabada8334e7 (patch) | |
tree | de99cd760c8292ee1dd334e23e1e5cc43e90dfbd /recipes-opie/opie-ttf-support/opie-ttf-support_1.1.bb | |
download | meta-opie-e9b45ff67d32fdc27950a51135b6dabada8334e7.tar.gz |
initial commit of meta-opie
Populate the repository with files from OpenEmbedded at revision
45edf621296daf150c72b876d720861235e5762e - no changes, only rearranged
the directory structure to match the new oe-core style and added
COPYING.MIT and README.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-opie/opie-ttf-support/opie-ttf-support_1.1.bb')
-rw-r--r-- | recipes-opie/opie-ttf-support/opie-ttf-support_1.1.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-opie/opie-ttf-support/opie-ttf-support_1.1.bb b/recipes-opie/opie-ttf-support/opie-ttf-support_1.1.bb new file mode 100644 index 0000000..18ce7ac --- /dev/null +++ b/recipes-opie/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 +} |