wok-6.x view wqy-microhei/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 8dcea6d04ff9
children 22412c06b2c2
line source
1 # SliTaz package receipt.
3 PACKAGE="wqy-microhei"
4 VERSION="0.2.0-beta"
5 CATEGORY="x-window"
6 SHORT_DESC="文泉驿微米黑,版本v0.2.0-beta (开发代号:远古大爆炸,Codename: BigBang)"
7 MAINTAINER="lufeng369@gmail.com"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://wenq.org/index.cgi?MicroHei"
11 WGET_URL="$SF_MIRROR/wqy/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mkdir -p $DESTDIR
17 cp -a $src/* $DESTDIR
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/share/fonts/truetype/WenQuanYi
24 cp -a $DESTDIR/*.ttc $fs/usr/share/fonts/truetype/WenQuanYi
25 }