SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "syasokoban"

# SliTaz package receipt.

PACKAGE="syasokoban"
VERSION="2.0.1"
CATEGORY="games"
SHORT_DESC="Sokoban clone."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://grayskygames.com/sokoban.html"
WGET_URL="http://grayskygames.com/sokoban/$TARBALL"
DEPENDS="libsdl gcc-lib-base glibc-base"
BUILD_DEPENDS="libsdl-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    if [ ! -f gcc44.u.done ]; then
        patch -p0 < $stuff/gcc44.u
        touch gcc44.u.done
    fi
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin $fs/usr/share/syasokoban $fs/usr/share/applications
    cp -a $src/syasokoban $src/data $fs/usr/share/syasokoban
    cp -a $stuff/sokoban.desktop $fs/usr/share/applications
    cp -a $stuff/syasokoban $fs/usr/bin/syasokoban
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)