wok-current view sudoku/receipt @ rev 16339

ARM: fix squeak-vm cross compilation
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 12 14:27:19 2014 +0200 (2014-04-12)
parents 372da2303ff1
children 10baa41a7882
line source
1 # SliTaz package receipt.
3 PACKAGE="sudoku"
4 VERSION="2.3"
5 CATEGORY="games"
6 SHORT_DESC="Sudoku game in javascript"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION"
9 WEB_SITE="http://10k.aneventapart.com/1/Entry/81"
10 WGET_URL="http://10k.aneventapart.com/1/Uploads/81/index.html"
11 HOST_ARCH="any"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/var/www/$PACKAGE $fs/usr/share/applications
17 cp $src/$TARBALL $fs/var/www/$PACKAGE/index.html
18 chown -R 80.80 $fs/var/www/$PACKAGE
19 cat > $fs/usr/share/applications/sudoku.desktop <<EOT
20 [Desktop Entry]
21 Type=Application
22 Name=Sudoku
23 Name[zh_CN]=数独
24 Exec=sh -c "url=file:///var/www/sudoku/index.html ; tazweb --notoolbar \$url || browser \$url"
25 Icon=sudoku
26 Terminal=false
27 Categories=Game;
28 Comment=Sudoku game
29 EOT
30 }