wok view jstetris/receipt @ rev 20937

updated freeglut and freeglut-dev (2.6.0 -> 3.0.0)
author Hans-G?nter Theisgen
date Sat Mar 02 17:32:25 2019 +0100 (2019-03-02)
parents d51b2411e55e
children 599ac1affa58
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 LICENSE="unknown"
10 WEB_SITE="http://javascript.internet.com/games/Tetris.html"
11 WGET_URL="http://javascript.internet.com/games/$TARBALL"
12 HOST_ARCH="any"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/var/www/tetris $fs/usr/share/applications
18 cp $src/* $fs/var/www/tetris
19 cp $stuff/index.html $fs/var/www/tetris
20 chown -R 80.80 $fs/var/www/tetris
21 cat > $fs/usr/share/applications/tetris.desktop <<EOT
22 [Desktop Entry]
23 Type=Application
24 Name=Tetris
25 Exec=browser file:///var/www/tetris/index.html
26 Icon=other
27 Terminal=false
28 Categories=Game;
29 Comment=Tetris game
30 EOT
31 }