diff options
Diffstat (limited to 'packages/opie-ttf-support/opie-ttf-support_1.1.bb')
-rw-r--r-- | packages/opie-ttf-support/opie-ttf-support_1.1.bb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/opie-ttf-support/opie-ttf-support_1.1.bb b/packages/opie-ttf-support/opie-ttf-support_1.1.bb index 74de9116b7..d11d8ea75f 100644 --- a/packages/opie-ttf-support/opie-ttf-support_1.1.bb +++ b/packages/opie-ttf-support/opie-ttf-support_1.1.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Meta-package for Opie TTF support" -DEPENDS = "freetype" SECTION = "opie/fonts" -PR = "r2" +DEPENDS = "freetype" +PR = "r3" SRC_URI = "file://update-qtttffontdir.c" S = "${WORKDIR}" @@ -12,12 +12,12 @@ do_compile() { do_install() { install -d ${D}${sbindir} + install -d ${D}${sysconfdir}/update-fonts-common.d/ install -m 0755 update-qtttffontdir ${D}${sbindir} -} - -pkg_postinst() { + echo " #!/bin/sh -if [ -n "$D" ]; then exit 1; fi -mkdir -p ${palmtopdir}/lib/fonts/ -${sbindir}/update-qtttffontdir ${datadir}/fonts/truetype >${palmtopdir}/lib/fonts/fontdir +# Author: Rolf Leggewie + +${sbindir}/update-qtttffontdir ${datadir}/fonts/truetype > ${palmtopdir}/lib/fonts/fontdir +" > ${D}${sysconfdir}/update-fonts-common.d/02qtttffont-update } |