wok-current 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 | b936343846df |
children | 4c56a51375d9 |
files | wqy-bitmapfont/receipt wqy-microhei/receipt |
line diff
1.1 --- a/wqy-bitmapfont/receipt Fri Mar 04 14:43:55 2011 +0100 1.2 +++ b/wqy-bitmapfont/receipt Fri Mar 04 15:09:58 2011 +0100 1.3 @@ -10,10 +10,17 @@ 1.4 WGET_URL="$SF_MIRROR/wqy/$TARBALL" 1.5 TAGS="fonts" 1.6 1.7 +# Rules to configure and make the package. 1.8 +compile_rules() 1.9 +{ 1.10 + mkdir -p $DESTDIR 1.11 + cp -a $src/* $DESTDIR 1.12 +} 1.13 + 1.14 genpkg_rules() 1.15 { 1.16 mkdir -p $fs/usr/share/fonts/wqy/wqy-bitmapfont/ 1.17 - cp -a wqy-bitmapfont/*.pcf $fs/usr/share/fonts/wqy/wqy-bitmapfont/ 1.18 + cp -a $DESTDIR/*.pcf $fs/usr/share/fonts/wqy/wqy-bitmapfont/ 1.19 } 1.20 1.21 pre_install()
2.1 --- a/wqy-microhei/receipt Fri Mar 04 14:43:55 2011 +0100 2.2 +++ b/wqy-microhei/receipt Fri Mar 04 15:09:58 2011 +0100 2.3 @@ -10,9 +10,16 @@ 2.4 WEB_SITE="http://wenq.org/index.cgi?MicroHei" 2.5 WGET_URL="$SF_MIRROR/wqy/$TARBALL" 2.6 2.7 +# Rules to configure and make the package. 2.8 +compile_rules() 2.9 +{ 2.10 + mkdir -p $DESTDIR 2.11 + cp -a $src/* $DESTDIR 2.12 +} 2.13 + 2.14 # Rules to gen a SliTaz package suitable for Tazpkg. 2.15 genpkg_rules() 2.16 { 2.17 mkdir -p $fs/usr/share/fonts/truetype/WenQuanYi 2.18 - cp -a $PACKAGE/*.ttc $fs/usr/share/fonts/truetype/WenQuanYi 2.19 + cp -a $DESTDIR/*.ttc $fs/usr/share/fonts/truetype/WenQuanYi 2.20 }