wok rev 7055

Add sudoku
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 01 17:25:01 2010 +0100 (2010-11-01)
parents fd2c8977236f
children 97e0197be6dd
files sudoku/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sudoku/receipt	Mon Nov 01 17:25:01 2010 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="sudoku"
     1.7 +VERSION="2.2"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Sudoku game in javascript"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://10k.aneventapart.com/Entry/81"
    1.12 +
    1.13 +# Rules to configure and make the package.
    1.14 +compile_rules()
    1.15 +{
    1.16 +	mkdir $src
    1.17 +	cd $src
    1.18 +	wget http://10k.aneventapart.com/Uploads/81/index.html
    1.19 +}
    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 +	chown -R 80.80 $fs/var/www/$PACKAGE
    1.27 +	cat > $fs/usr/share/applications/sudoku.desktop <<EOT
    1.28 +[Desktop Entry]
    1.29 +Type=Application
    1.30 +Name=Sudoku
    1.31 +Exec=browser file:///var/www/sudoku/index.html
    1.32 +Icon=other.png
    1.33 +Terminal=false
    1.34 +Categories=Game;
    1.35 +Comment=Sudoku game
    1.36 +EOT
    1.37 +}
    1.38 +