wok view wqy-bitmapfont/receipt @ rev 19511
busybox: add hd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 22 15:02:30 2016 +0100 (2016-11-22) |
parents | 2dee907f180f |
children | 7cfc423aaa00 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wqy-bitmapfont"
4 VERSION="0.9.9"
5 CATEGORY="x-window"
6 SHORT_DESC="A popular Chinese bitmap font."
7 MAINTAINER="tsjz@ymail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.wqy.org/"
10 TARBALL="$PACKAGE-pcf-0.9.9-0.tar.gz"
11 WGET_URL="$SF_MIRROR/wqy/$PACKAGE/$VERSION/$TARBALL"
12 TAGS="font"
14 genpkg_rules()
15 {
16 FONT=/usr/share/fonts/wenquanyi/wqy-bitmapfont
17 mkdir -p \
18 $fs$FONT \
19 $fs/etc/fonts/conf.avail \
20 $fs/etc/fonts/conf.d
21 cp -a $src/*.pcf $fs$FONT
22 cp -a $src/*.conf $fs/etc/fonts/conf.avail
23 ln -s ../conf.avail/85-wqy-bitmapsong.conf \
24 $fs/etc/fonts/conf.d/85-wqy-bitmapsong.conf
25 }
27 post_install()
28 {
29 chroot "$1/" fc-cache -f > /dev/null 2>&1
30 }