wok-stable view wqy-bitmapfont/receipt @ rev 9070
wqy-microhei, wqy-bitmapfont: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 15:09:58 2011 +0100 (2011-03-04) |
parents | 35ec83c60e58 |
children | 22412c06b2c2 |
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 TARBALL="wqy-bitmapfont-pcf-0.9.9-0.tar.gz"
9 WEB_SITE="http://www.wqy.org/"
10 WGET_URL="$SF_MIRROR/wqy/$TARBALL"
11 TAGS="fonts"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mkdir -p $DESTDIR
17 cp -a $src/* $DESTDIR
18 }
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/share/fonts/wqy/wqy-bitmapfont/
23 cp -a $DESTDIR/*.pcf $fs/usr/share/fonts/wqy/wqy-bitmapfont/
24 }
26 pre_install()
27 {
28 fc-cache -v > /dev/null 2>&1
29 }