wok view jstetris/receipt @ rev 11096
Up: dhcp6 to 4.2.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 02:49:31 2011 +0000 (2011-10-17) |
parents | c225c4ba8698 |
children | ff54c8e52d6b |
line source
1 # SliTaz package receipt.
3 PACKAGE="jstetris"
4 VERSION="1.1.0"
5 CATEGORY="games"
6 SHORT_DESC="Tetris game in javascript"
7 TARBALL="JsTetris.js"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 WEB_SITE="http://javascript.internet.com/games/Tetris.html"
10 WGET_URL="http://javascript.internet.com/games/$TARBALL"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/var/www/tetris $fs/usr/share/applications
16 cp $src/* $fs/var/www/tetris
17 cp $stuff/index.html $fs/var/www/tetris
18 chown -R 80.80 $fs/var/www/tetris
19 cat > $fs/usr/share/applications/tetris.desktop <<EOT
20 [Desktop Entry]
21 Type=Application
22 Name=Tetris
23 Exec=browser file:///var/www/tetris/index.html
24 Icon=other.png
25 Terminal=false
26 Categories=Game;
27 Comment=Tetris game
28 EOT
29 }