wok-next view sudoku/receipt @ rev 7112
Fixed mesa to only have one libdrm in depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 04 00:12:07 2010 +0000 (2010-11-04) |
parents | |
children | 717afcb65646 |
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=browser file:///var/www/sudoku/index.html
29 Icon=other.png
30 Terminal=false
31 Categories=Game;
32 Comment=Sudoku game
33 EOT
34 }