wok annotate wqy-bitmapfont/receipt @ rev 10471
tazwikiss: add compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 11:47:30 2011 +0200 (2011-05-25) |
parents | 5ae6a120b179 |
children | 7a526dcd4932 |
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@9072 | 23 cp -a $_pkg/*.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 } |