wok-stable view jstetris/receipt @ rev 10650
icedtea6-jdk: It build, dont exit on make messages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 27 03:56:49 2011 +0200 (2011-05-27) |
parents | 717afcb65646 |
children | 7206549f64b7 |
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 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://javascript.internet.com/games/Tetris.html"
10 # Rules to configure and make the package.
11 compile_rules()
12 {
13 mkdir $src
14 cd $src
15 wget -O index.html $WEB_SITE
16 wget $(dirname $WEB_SITE)/JsTetris.js
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/var/www/tetris $fs/usr/share/applications
23 cp $src/* $fs/var/www/tetris
24 chown -R 80.80 $fs/var/www/tetris
25 cat > $fs/usr/share/applications/tetris.desktop <<EOT
26 [Desktop Entry]
27 Type=Application
28 Name=Tetris
29 Exec=browser file:///var/www/tetris/index.html
30 Icon=other.png
31 Terminal=false
32 Categories=Game;
33 Comment=Tetris game
34 EOT
35 }