wok view othello/receipt @ rev 22714

updated faac and faac-dev (1.28 -> 1.29.9.2)
author Hans-G?nter Theisgen
date Wed Jan 22 13:31:32 2020 +0100 (2020-01-22)
parents f13bd223c231
children 1a6eb3793a9e
line source
1 # SliTaz package receipt.
3 PACKAGE="othello"
4 VERSION="1.0"
5 CATEGORY="games"
6 SHORT_DESC="Othello game in javascript"
7 TARBALL="$PACKAGE-$VERSION.tar.lzma"
8 WGET_URL="http://mirror.slitaz.org/sources/packages/o/$TARBALL"
9 MAINTAINER="pascal.bellard@slitaz.org"
10 LICENSE="MIT"
11 WEB_SITE="http://www.posi.net/software/othello/"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 sed -i 's|TITLE>.*</TITLE|TITLE>Othello</TITLE|' index.html
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/var/www/othello $fs/usr/share/applications
23 cp -a $src/* $fs/var/www/othello
24 chown -R 80.80 $fs/var/www/othello
25 cat > $fs/usr/share/applications/othello.desktop <<EOT
26 [Desktop Entry]
27 Type=Application
28 Name=Othello
29 Exec=browser file:///var/www/othello/index.html
30 Icon=/var/www/othello/images/black.gif
31 Terminal=false
32 Categories=Game;
33 Comment=Othello game
34 EOT
35 }