wok-6.x view sudoku/receipt @ rev 7406
Add libsdl-net to libsdl-net-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 27 18:19:05 2010 +0000 (2010-11-27) |
parents | 5a5147505edf |
children | f07dab2dcaee |
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 Exec=GtkLauncher file:///var/www/sudoku/index.html
29 Icon=other.png
30 Terminal=false
31 Categories=Game;
32 Comment=Sudoku game
33 EOT
34 }