blob: 5d8a2cf6f6109c30d093215907089bf21b98cf22 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
DESCRIPTION = "Bitstream Vera Monospaced Font, QPF for Qt/Embedded"
SECTION = "opie/fonts"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
PR = "r2"
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
}
PACKAGE_ARCH = "all"
PACKAGES = "\
qpf-bitstream-vera-sans-mono-small \
qpf-bitstream-vera-sans-mono-large \
qpf-bitstream-vera-sans-mono-larger \
qpf-bitstream-vera-sans-mono-huge"
FILES_qpf-bitstream-vera-sans-mono-small = "\
${palmqtdir}/lib/fonts/verasansmono_10* \
${palmqtdir}/lib/fonts/verasansmono_11* \
${palmqtdir}/lib/fonts/verasansmono_12* \
${palmqtdir}/lib/fonts/verasansmono_13* \
${palmqtdir}/lib/fonts/verasansmono_14*"
FILES_qpf-bitstream-vera-sans-mono-large = "\
${palmqtdir}/lib/fonts/verasansmono_15*" \
${palmqtdir}/lib/fonts/verasansmono_16* \
${palmqtdir}/lib/fonts/verasansmono_17* \
${palmqtdir}/lib/fonts/verasansmono_18* \
${palmqtdir}/lib/fonts/verasansmono_19*"
FILES_qpf-bitstream-vera-sans-mono-larger = "${palmqtdir}/lib/fonts/verasansmono_2*"
FILES_qpf-bitstream-vera-sans-mono-huge = "${palmqtdir}/lib/fonts/verasansmono_3*"
|