wok-6.x view othello/receipt @ rev 22337

Up x11vnc-extra (0.9.16)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 15 17:18:01 2019 +0100 (2019-11-15)
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 }