wok-4.x view wqy-bitmapfont/receipt @ rev 9717

slitaz-toolchain: Let create a new toolchain in one command for cookutils
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 09 01:35:10 2011 +0200 (2011-05-09)
parents 5ae6a120b179
children
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 $_pkg/*.pcf $fs/usr/share/fonts/wqy/wqy-bitmapfont/
24 }
26 pre_install()
27 {
28 fc-cache -v > /dev/null 2>&1
29 }