wok-current view othello/receipt @ rev 25659
Update expat CVE-2023-52425,CVE-2023-52426, patch libxml2 CVE-2024-25062
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Feb 18 10:03:28 2024 +0000 (10 months ago) |
parents | 6a937d641b10 |
children |
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="https://web.archive.org/web/20101231221346/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 }