wok-current diff wqy-bitmapfont/receipt @ rev 16212
weston: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 31 12:57:26 2014 +0000 (2014-03-31) |
parents | 7a526dcd4932 |
children | dfef8de3d270 |
line diff
1.1 --- a/wqy-bitmapfont/receipt Fri Jun 14 12:25:09 2013 +0000 1.2 +++ b/wqy-bitmapfont/receipt Mon Mar 31 12:57:26 2014 +0000 1.3 @@ -5,19 +5,26 @@ 1.4 CATEGORY="x-window" 1.5 SHORT_DESC="A popular Chinese bitmap font." 1.6 MAINTAINER="tsjz@ymail.com" 1.7 +LICENSE="GPL2" 1.8 WEB_SITE="http://www.wqy.org/" 1.9 TARBALL="$PACKAGE-pcf-0.9.9-0.tar.gz" 1.10 -WGET_URL="$SF_MIRROR/wqy/$TARBALL" 1.11 +WGET_URL="$SF_MIRROR/wqy/$PACKAGE/$VERSION/$TARBALL" 1.12 TAGS="font" 1.13 1.14 genpkg_rules() 1.15 { 1.16 - FONT=$fs/usr/share/fonts/wqy/wqy-bitmapfont 1.17 - mkdir -p $FONT 1.18 - cp -a $src/*.pcf $FONT 1.19 + FONT=/usr/share/fonts/wenquanyi/wqy-bitmapfont 1.20 + mkdir -p \ 1.21 + $fs$FONT \ 1.22 + $fs/etc/fonts/conf.avail \ 1.23 + $fs/etc/fonts/conf.d 1.24 + cp -a $src/*.pcf $fs$FONT 1.25 + cp -a $src/*.conf $fs/etc/fonts/conf.avail 1.26 + ln -s ../conf.avail/85-wqy-bitmapsong.conf \ 1.27 + $fs/etc/fonts/conf.d/85-wqy-bitmapsong.conf 1.28 } 1.29 1.30 -pre_install() 1.31 +post_install() 1.32 { 1.33 - fc-cache -v > /dev/null 2>&1 1.34 + fc-cache -f > /dev/null 2>&1 1.35 }