wok-current annotate 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
rev   line source
pankso@3609 1 # SliTaz package receipt.
pankso@3609 2
tsjz@3221 3 PACKAGE="wqy-bitmapfont"
tsjz@3221 4 VERSION="0.9.9"
mallory@3288 5 CATEGORY="x-window"
tsjz@3221 6 SHORT_DESC="A popular Chinese bitmap font."
tsjz@3221 7 MAINTAINER="tsjz@ymail.com"
tsjz@3221 8 TARBALL="wqy-bitmapfont-pcf-0.9.9-0.tar.gz"
pankso@3609 9 WEB_SITE="http://www.wqy.org/"
tsjz@3221 10 WGET_URL="$SF_MIRROR/wqy/$TARBALL"
jozee@4976 11 TAGS="fonts"
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 genpkg_rules()
tsjz@3221 21 {
pankso@3609 22 mkdir -p $fs/usr/share/fonts/wqy/wqy-bitmapfont/
pascal@9070 23 cp -a $DESTDIR/*.pcf $fs/usr/share/fonts/wqy/wqy-bitmapfont/
tsjz@3221 24 }
tsjz@3221 25
tsjz@3221 26 pre_install()
tsjz@3221 27 {
rocky@4354 28 fc-cache -v > /dev/null 2>&1
tsjz@3221 29 }