wok-next view sudoku/receipt @ rev 9013
Fixed perl-xml-entities.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 03 12:54:08 2011 +0000 (2011-03-03) |
parents | 717afcb65646 |
children | 4abb57275e48 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sudoku"
4 VERSION="2.2"
5 CATEGORY="games"
6 SHORT_DESC="Sudoku game in javascript"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://10k.aneventapart.com/Entry/81"
10 # Rules to configure and make the package.
11 compile_rules()
12 {
13 mkdir $src
14 cd $src
15 wget http://10k.aneventapart.com/Uploads/81/index.html
16 }
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p $fs/var/www/$PACKAGE $fs/usr/share/applications
22 cp $src/* $fs/var/www/$PACKAGE
23 chown -R 80.80 $fs/var/www/$PACKAGE
24 cat > $fs/usr/share/applications/sudoku.desktop <<EOT
25 [Desktop Entry]
26 Type=Application
27 Name=Sudoku
28 Name[zh_CN]=数独
29 Exec=browser file:///var/www/sudoku/index.html
30 Icon=other.png
31 Terminal=false
32 Categories=Game;
33 Comment=Sudoku game
34 EOT
35 }