summaryrefslogtreecommitdiff
path: root/packages/qpf-fonts/qpf-unifont_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/qpf-fonts/qpf-unifont_1.0.bb')
-rw-r--r--packages/qpf-fonts/qpf-unifont_1.0.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/qpf-fonts/qpf-unifont_1.0.bb b/packages/qpf-fonts/qpf-unifont_1.0.bb
index e69de29bb2..5ab88e26dc 100644
--- a/packages/qpf-fonts/qpf-unifont_1.0.bb
+++ b/packages/qpf-fonts/qpf-unifont_1.0.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "Unicode fonts - QPF Edition"
+LICENSE = "GPL QPL"
+SECTION = "opie/fonts"
+PRIORITY = "optional"
+PACKAGE_ARCH = "all"
+
+SRC_URI = "http://www.openzaurus.org/mirror/qpf-unifont.tar.bz2"
+S = "${WORKDIR}"
+
+do_install () {
+ install -d ${D}${palmqtdir}/lib/fonts/
+ for i in *.qpf; do
+ install -m 644 $i ${D}${palmqtdir}/lib/fonts/${i}
+ done
+}
+
+pkg_postinst () {
+#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
+set -e
+. /etc/profile
+${sbindir}/update-qtfontdir
+}
+
+FILES_${PN} = "${palmqtdir}/lib/fonts"