SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "vice"

# SliTaz package receipt.

PACKAGE="vice"
VERSION="3.3"
CATEGORY="games"
SHORT_DESC="Commodore 64 and others emulator."
MAINTAINER="devl547@gmail.com"
LICENSE="GPL2"
WEB_SITE="https://vice-emu.sourceforge.io/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/vice-emu/files/releases/$TARBALL"

DEPENDS="gtk+ libsdl2 readline"
BUILD_DEPENDS="gtk+-dev libsdl2-dev readline-dev xa xorg-bdftopcf xorg-mkfontdir"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/vice-emu/files/releases/ 2>/dev/null | \
    sed '/scope="row/!d;/tar/!d;s|.*/vice-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's|uname -m|echo i486|' src/lib/liblame/Makefile.unix
    sed -i 's/cp .(fontsdir)/echo &/' data/fonts/Makefile.*

    ./configure        \
        --prefix=/usr    \
        $CONFIGURE_ARGS &&
    make $MAKEFLAGS &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/

    cp -a $install/usr/bin    $fs/usr/
    cp -a $install/usr/lib    $fs/usr/
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)