SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "hatari"

# SliTaz package receipt.

PACKAGE="hatari"
VERSION="2.3.1"
CATEGORY="misc"
SHORT_DESC="An Atari ST/STE/TT/Falcon emulator."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://hatari.tuxfamily.org/"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://download.tuxfamily.org/$PACKAGE/$VERSION/$TARBALL"

DEPENDS="libdb libpng libsdl2 portaudio py3k readline zlib"
BUILD_DEPENDS="cmake libpng-dev libsdl2-dev portaudio-dev py3k-dev
    readline-dev udev-dev xorg-dev zlib-dev"

current_version()
{
    wget -O - http://download.tuxfamily.org/$PACKAGE 2>/dev/null | \
    sed "/href=\"[0-9]/!d;s|.*href=\"\\(.*\\)/\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    export LDFLAGS="$LDFLAGS -ltinfo"

    ./configure --prefix=/usr &&
    make &&

    sed -i "s|\t/usr|\t$DESTDIR/usr|" share/cmake_install.cmake
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/*    $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)