wok-current view hatari/receipt @ rev 25569
BootProg: fix boot16.asm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 12 21:35:09 2023 +0000 (19 months ago) |
parents | bf28cc07ebf1 |
children |
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://hatari.tuxfamily.org/"
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 }