wok view sudoku/receipt @ rev 14698

Add perl-cgi, perl-config-general, perl-http-server-simple, perl-mailtools, perl-mime-lite, perl-mime-types
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 07 16:21:22 2013 +0200 (2013-06-07)
parents ed85379cebcb
children 6d2d27751abb
line source
1 # SliTaz package receipt.
3 PACKAGE="sudoku"
4 VERSION="2.2"
5 CATEGORY="games"
6 SHORT_DESC="Sudoku game in javascript"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.html"
9 WEB_SITE="http://10k.aneventapart.com/Entry/81"
10 WGET_URL="http://10k.aneventapart.com/Uploads/81/index.html"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/var/www/$PACKAGE $fs/usr/share/applications
16 cp $src/$TARBALL $fs/var/www/$PACKAGE/index.html
17 chown -R 80.80 $fs/var/www/$PACKAGE
18 cat > $fs/usr/share/applications/sudoku.desktop <<EOT
19 [Desktop Entry]
20 Type=Application
21 Name=Sudoku
22 Name[zh_CN]=数独
23 Exec=sh -c "url=file:///var/www/sudoku/index.html ; tazweb --notoolbar \$url || browser \$url"
24 Icon=other
25 Terminal=false
26 Categories=Game;
27 Comment=Sudoku game
28 EOT
29 }