diff options
author | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2008-01-29 09:45:33 +0000 |
---|---|---|
committer | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2008-01-29 09:45:33 +0000 |
commit | 501f302fb41e747f2997984a57974ecc0e000b27 (patch) | |
tree | 6614911c9797f5aac9c5ce4222e07f1c42d3409c | |
parent | fc98537d1272baf818ed71604e73d7221d49dbf1 (diff) |
opie-ttf-support: prepare for update-font-common. partly closes 2430.
-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 } |