wok view othello/receipt @ rev 24371

updated bird (2.0.7 -> 2.0.8)
author Hans-G?nter Theisgen
date Sat Feb 05 15:01:57 2022 +0100 (2022-02-05)
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 }