summaryrefslogtreecommitdiff
path: root/packages/opie-ttf-support
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-01-29 09:45:33 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-01-29 09:45:33 +0000
commit501f302fb41e747f2997984a57974ecc0e000b27 (patch)
tree6614911c9797f5aac9c5ce4222e07f1c42d3409c /packages/opie-ttf-support
parentfc98537d1272baf818ed71604e73d7221d49dbf1 (diff)
opie-ttf-support: prepare for update-font-common. partly closes 2430.
Diffstat (limited to 'packages/opie-ttf-support')
-rw-r--r--packages/opie-ttf-support/opie-ttf-support_1.1.bb16
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
}