summaryrefslogtreecommitdiff
path: root/packages/vera-fonts/qpf-bitstream-vera-sans-mono_1.10.bb
blob: 7dfd9332871672a8ce4e5ead8b56dc61cf5ddf72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
DESCRIPTION = "Bitstream Vera Monospaced Font, QPF for Qt/Embedded"
SECTION = "opie/fonts"
LICENSE = "GPL"
PR = "r1"

SRC_URI = "http://openzaurus.org/mirror/fonts-bitstream-vera-sans-mono.tar.gz"
S = "${WORKDIR}/verasansmono"

FILES_${PN} += "/opt"

do_install () { 
        install -d ${D}${palmqtdir}/lib/fonts/ 
	
	cd ${WORKDIR}
	files=`find . -name "*.qpf"`
        for i in $files; do 
                install -m 644 $i ${D}${palmqtdir}/lib/fonts/
        done 
} 

pkg_postinst () {
#!/bin/sh
if [ -n "$D" ]; then exit 1; fi
set -e
. /etc/profile
${sbindir}/update-qtfontdir
}

PACKAGES = "qpf-bitstream-vera-sans-mono-small qpf-bitstream-vera-sans-mono-large qpf-bitstream-vera-sans-mono-huge"
FILES_qpf-bitstream-vera-sans-mono-small = "${palmqtdir}/lib/fonts/verasansmono_1*"
FILES_qpf-bitstream-vera-sans-mono-large = "${palmqtdir}/lib/fonts/verasansmono_2*"
FILES_qpf-bitstream-vera-sans-mono-huge = "${palmqtdir}/lib/fonts/verasansmono_3*"