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