SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xpat2"

# SliTaz package receipt

PACKAGE="xpat2"
VERSION="1.07"
CATEGORY="games"
SHORT_DESC="Soltaire games for X."
MAINTAINER="b1+slitaz@nagel.org"
WEB_SITE="http://manpages.ubuntu.com/manpages/intrepid/man6/xpat2.html"
DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw"
TARBALL="$PACKAGE-$VERSION-src.tar.gz"
WGET_URL="http://www.ibiblio.org/pub/Linux/games/solitaires/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    for i in xpat2.patch layout.patch ; do
        [ -f done.$i ] && continue
        patch -p1 < $stuff/$i
        touch done.$i
    done
    cd src
    cp $stuff/Makefile .
    make &&
    make DESTDIR=../_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/var/games/xpat2
    cp -a $_pkg/usr $fs
    mkdir -p $fs/usr/share/X11/app-defaults/
    cp -a $stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat
    touch $fs/var/games/xpat2/xpat.log
    chmod 666 $fs/var/games/xpat2/xpat.log
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)