wok-current annotate jstetris/receipt @ rev 16637
ruby-dev: add gem
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 12 10:25:37 2014 +0000 (2014-05-12) |
parents | ff54c8e52d6b |
children | 10baa41a7882 |
rev | line source |
---|---|
pascal@7056 | 1 # SliTaz package receipt. |
pascal@7056 | 2 |
pascal@7056 | 3 PACKAGE="jstetris" |
pascal@7056 | 4 VERSION="1.1.0" |
pascal@7056 | 5 CATEGORY="games" |
pascal@7056 | 6 SHORT_DESC="Tetris game in javascript" |
slaxemulator@10766 | 7 TARBALL="JsTetris.js" |
pascal@7056 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@7056 | 9 WEB_SITE="http://javascript.internet.com/games/Tetris.html" |
slaxemulator@10766 | 10 WGET_URL="http://javascript.internet.com/games/$TARBALL" |
pascal@16264 | 11 HOST_ARCH="any" |
pascal@7056 | 12 |
pascal@7056 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7056 | 14 genpkg_rules() |
pascal@7056 | 15 { |
pascal@7056 | 16 mkdir -p $fs/var/www/tetris $fs/usr/share/applications |
pascal@7056 | 17 cp $src/* $fs/var/www/tetris |
slaxemulator@10766 | 18 cp $stuff/index.html $fs/var/www/tetris |
pascal@7056 | 19 chown -R 80.80 $fs/var/www/tetris |
pascal@7056 | 20 cat > $fs/usr/share/applications/tetris.desktop <<EOT |
pascal@7056 | 21 [Desktop Entry] |
pascal@7056 | 22 Type=Application |
pascal@7056 | 23 Name=Tetris |
slaxemulator@9600 | 24 Exec=browser file:///var/www/tetris/index.html |
samuel_trassare@12029 | 25 Icon=other |
pascal@7056 | 26 Terminal=false |
pascal@7056 | 27 Categories=Game; |
pascal@7056 | 28 Comment=Tetris game |
pascal@7056 | 29 EOT |
pascal@7056 | 30 } |
pascal@7056 | 31 |