Merge bk://openembedded@openembedded.bkbits.net/packages
[vuplus_openembedded] / vera-fonts / qpf-bitstream-vera-sans-mono-50_1.1.oe
1 DESCRIPTION = "fonts-bitstream-vera-sans-mono-50 is a package \
2 containing QPF font files of Bitstream Vera Mono, at the \
3 normal line weight (not bold)."
4 SECTION = "opie/fonts"
5 PRIORITY = "optional"
6
7 SRC_URI = "http://openzaurus.org/mirror/fonts-bitstream-vera-sans-mono-50_1.1.tar.gz"
8
9 FILES_${PN} += "/opt"
10
11 do_install () { 
12         install -d ${D}${palmqtdir}/lib/fonts/ 
13         
14         cd ${WORKDIR}/fonts-bitstream-vera-sans-mono-50_1.1/home/QtPalmtop/lib/fonts/
15         
16         for i in *.qpf; do 
17                 install -m 644 $i ${D}${palmqtdir}/lib/fonts/${i} 
18         done 
19
20
21 pkg_postinst () {
22 #!/bin/sh
23 if [ -n "$D" ]; then exit 1; fi
24 set -e
25 . /etc/profile
26 ${sbindir}/update-qtfontdir
27 }