SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "othello"

# SliTaz package receipt.

PACKAGE="othello"
VERSION="1.0"
CATEGORY="games"
SHORT_DESC="Othello game in javascript"
TARBALL="$PACKAGE-$VERSION.tar.lzma"
WGET_URL="http://mirror.slitaz.org/sources/packages/o/$TARBALL"
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://web.archive.org/web/20101231221346/http://www.posi.net/software/othello/"

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's|TITLE>.*</TITLE|TITLE>Othello</TITLE|' index.html
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
        mkdir -p $fs/var/www/othello $fs/usr/share/applications
    cp -a $src/* $fs/var/www/othello
    chown -R 80.80 $fs/var/www/othello
    cat > $fs/usr/share/applications/othello.desktop <<EOT
[Desktop Entry]
Type=Application
Name=Othello
Exec=browser file:///var/www/othello/index.html
Icon=/var/www/othello/images/black.gif
Terminal=false
Categories=Game;
Comment=Othello game
EOT
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)