summaryrefslogtreecommitdiff
path: root/packages/qpf-fonts/qpf-unismall_1.0.0.bb
blob: ba79c83c95ac2e8cca1c7e7bd0fb1cab4fd861a9 (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
DESCRIPTION = "Lightweight Japanese font in 10 point suitable for 320x240 display"
SECTION = "opie/fonts"
PRIORITY = "optional"
MAINTAINER = "Rolf Leggewie <openembedded-unismall@rolf.leggewie.biz>"
LICENSE = "GPL"
HOMEPAGE = "http://sourceforge.jp/projects/zaurus-ja/"
RPROVIDES = "virtual/japanese-font"

SRC_URI = "http://prdownloads.sourceforge.jp/zaurus-ja/773/unismall-1.0.0.tar.gz"

S = "${WORKDIR}"

do_install () { 
        install -d ${D}${palmqtdir}/lib/fonts/ 
	cd unismall*
	for i in *_100_*.qpf; do 
		ln -sf $i $(echo $i | sed 's/_100_/_160_/')
	done
	for i in *.qpf; do 
		install -m 644 $i ${D}${palmqtdir}/lib/fonts/${i} 
	done
} 

inherit qpf