wok diff sudoku/receipt @ rev 9443

busybox/httpd: remove gzip
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 01 15:23:53 2011 +0200 (2011-04-01)
parents 4abb57275e48
children ff54c8e52d6b
line diff
     1.1 --- a/sudoku/receipt	Sat Mar 05 22:49:41 2011 +0000
     1.2 +++ b/sudoku/receipt	Fri Apr 01 15:23:53 2011 +0200
     1.3 @@ -5,23 +5,15 @@
     1.4  CATEGORY="games"
     1.5  SHORT_DESC="Sudoku game in javascript"
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 +TARBALL="$PACKAGE-$VERSION.html"
     1.8  WEB_SITE="http://10k.aneventapart.com/Entry/81"
     1.9 -
    1.10 -# Rules to configure and make the package.
    1.11 -compile_rules()
    1.12 -{
    1.13 -	mkdir $src
    1.14 -	cd $src
    1.15 -	[ -s $SOURCES_REPOSITORY/$PACKAGE-$VERSION.html ] || \
    1.16 -	wget -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION.html http://10k.aneventapart.com/Uploads/81/index.html
    1.17 -	cp -a $SOURCES_REPOSITORY/$PACKAGE-$VERSION.html $src/index.html
    1.18 -}
    1.19 +WGET_URL="http://10k.aneventapart.com/Uploads/81/index.html"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24          mkdir -p $fs/var/www/$PACKAGE $fs/usr/share/applications
    1.25 -	cp $src/* $fs/var/www/$PACKAGE
    1.26 +	cp $src/$TARBALL $fs/var/www/$PACKAGE/index.html
    1.27  	chown -R 80.80 $fs/var/www/$PACKAGE
    1.28  	cat > $fs/usr/share/applications/sudoku.desktop <<EOT
    1.29  [Desktop Entry]