wok annotate sudoku/receipt @ rev 7178

Added lorcon.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 08 00:01:41 2010 +0000 (2010-11-08)
parents 5a5147505edf
children f07dab2dcaee
rev   line source
pascal@7055 1 # SliTaz package receipt.
pascal@7055 2
pascal@7055 3 PACKAGE="sudoku"
pascal@7055 4 VERSION="2.2"
pascal@7055 5 CATEGORY="games"
pascal@7055 6 SHORT_DESC="Sudoku game in javascript"
pascal@7055 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@7055 8 WEB_SITE="http://10k.aneventapart.com/Entry/81"
pascal@7055 9
pascal@7055 10 # Rules to configure and make the package.
pascal@7055 11 compile_rules()
pascal@7055 12 {
pascal@7055 13 mkdir $src
pascal@7055 14 cd $src
pascal@7055 15 wget http://10k.aneventapart.com/Uploads/81/index.html
pascal@7055 16 }
pascal@7055 17
pascal@7055 18 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7055 19 genpkg_rules()
pascal@7055 20 {
pascal@7055 21 mkdir -p $fs/var/www/$PACKAGE $fs/usr/share/applications
pascal@7055 22 cp $src/* $fs/var/www/$PACKAGE
pascal@7055 23 chown -R 80.80 $fs/var/www/$PACKAGE
pascal@7055 24 cat > $fs/usr/share/applications/sudoku.desktop <<EOT
pascal@7055 25 [Desktop Entry]
pascal@7055 26 Type=Application
pascal@7055 27 Name=Sudoku
pascal@7125 28 Exec=GtkLauncher file:///var/www/sudoku/index.html
pascal@7055 29 Icon=other.png
pascal@7055 30 Terminal=false
pascal@7055 31 Categories=Game;
pascal@7055 32 Comment=Sudoku game
pascal@7055 33 EOT
pascal@7055 34 }
pascal@7055 35