wok 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 | ac8e4b546284 |
children | 49fd188e08d1 |
files | tazwikiss/receipt |
line diff
1.1 --- a/tazwikiss/receipt Wed May 25 11:46:36 2011 +0200 1.2 +++ b/tazwikiss/receipt Wed May 25 11:47:30 2011 +0200 1.3 @@ -12,10 +12,17 @@ 1.4 WEB_SITE="http://www.slitaz.org/" 1.5 CONFIG_FILES="/var/www/wiki/config*.sh" 1.6 1.7 +# Rules to configure and make the package. 1.8 +compile_rules() 1.9 +{ 1.10 + mkdir -p $DESTDIR 2> /dev/null 1.11 + cp -a $src/$PACKAGE/rootfs/* $DESTDIR 1.12 +} 1.13 + 1.14 # Rules to gen a SliTaz package suitable for Tazpkg. 1.15 genpkg_rules() 1.16 { 1.17 - cp -a $src/$PACKAGE/rootfs/* $fs 1.18 + cp -a $DESTDIR/* $fs 1.19 chown -R 80.80 $fs/var/www 1.20 } 1.21