SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "linapple"

# SliTaz package receipt.

PACKAGE="linapple"
VERSION="1.1b"
CATEGORY="misc"
SHORT_DESC="Apple //e emulator."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-src$VERSION.tar.bz2"
WEB_SITE="http://linapple.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
BUILD_DEPENDS="gcc3 libsdl-dev zlib-dev"
DEPENDS="gcc-lib-base libsdl zlib"
CONFIG_FILES="/etc/linapple.conf"
TAGS="emulator apple2"

# Rules to configure and make the package.
compile_rules()
{
    mv $PACKAGE-src_$VERSION $src 2> /dev/null
    cd $src/src
    grep -q /usr/share/apple2 Applewin.cpp ||
    sed -i 's|.*REGISTRY.*|\tchdir("/usr/share/apple2");\n&|' Applewin.cpp
    make CC=g++-3
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/apple2 $fs/usr/bin $fs/etc
    cp $src/linapple $fs/usr/bin
    cp $src/*.bmp $fs/usr/share/apple2
    cp $src/linapple.conf $fs/etc
    ln -s /etc/linapple.conf $fs/usr/share/apple2
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)