summaryrefslogtreecommitdiff
path: root/qpf-fonts/qpf-utopia_1.0.oe
diff options
context:
space:
mode:
Diffstat (limited to 'qpf-fonts/qpf-utopia_1.0.oe')
-rw-r--r--qpf-fonts/qpf-utopia_1.0.oe31
1 files changed, 31 insertions, 0 deletions
diff --git a/qpf-fonts/qpf-utopia_1.0.oe b/qpf-fonts/qpf-utopia_1.0.oe
index e69de29bb2..8753625a0b 100644
--- a/qpf-fonts/qpf-utopia_1.0.oe
+++ b/qpf-fonts/qpf-utopia_1.0.oe
@@ -0,0 +1,31 @@
+DESCRIPTION = "Utopia fonts - QPF Edition"
+SECTION = "s"
+PRIORITY = "optional"
+MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>"
+HOMEPAGE = "http://www.pobox.sk/~mico/zaurus.html"
+PACKAGE_ARCH = "all"
+
+SRC_URI = "http://www.hrw.one.pl/_pliki/oe/files/qpf-utopia.tar.bz2"
+S = "${WORKDIR}/utopia"
+
+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
+}
+
+PACKAGES = "qpf-utopia-small qpf-utopia-large"
+
+FILES_qpf-utopia-small = "${palmqtdir}/lib/fonts/utopia_100* ${palmqtdir}/lib/fonts/utopia_120*"
+
+FILES_qpf-utopia-large = "${palmqtdir}/lib/fonts/utopia_140* \
+${palmqtdir}/lib/fonts/utopia_180* ${palmqtdir}/lib/fonts/utopia_240*"