wok view hatari/receipt @ rev 25643
Fix mouse issue on mc with ncurses6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jan 12 14:14:28 2024 +0100 (10 months ago) |
parents | 4dd970e17c72 |
children | 65c2646b484d |
line source
1 # SliTaz package receipt.
3 PACKAGE="hatari"
4 VERSION="2.3.1"
5 CATEGORY="misc"
6 SHORT_DESC="An Atari ST/STE/TT/Falcon emulator."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/hatari/hatari"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://download.tuxfamily.org/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="libdb libpng libsdl2 portaudio py3k readline zlib"
15 BUILD_DEPENDS="cmake libpng-dev libsdl2-dev portaudio-dev py3k-dev
16 readline-dev udev-dev xorg-dev zlib-dev"
18 current_version()
19 {
20 wget -O - http://download.tuxfamily.org/$PACKAGE 2>/dev/null | \
21 sed "/href=\"[0-9]/!d;s|.*href=\"\\(.*\\)/\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -ltinfo"
29 ./configure --prefix=/usr &&
30 make &&
32 sed -i "s|\t/usr|\t$DESTDIR/usr|" share/cmake_install.cmake
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 }