wok-current view hatari/receipt @ rev 24314
updated vlgothic-fonts (20141206 -> 20200720)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 22 13:28:11 2022 +0100 (2022-01-22) |
parents | 3e2a0347b2f1 |
children | 4dd970e17c72 |
line source
1 # SliTaz package receipt.
3 PACKAGE="hatari"
4 VERSION="2.2.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="http://download.tuxfamily.org/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="libdb libpng libsdl2 portaudio python readline zlib"
15 BUILD_DEPENDS="cmake libpng-dev libsdl2-dev portaudio-dev
16 python-dev 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 -j 1 &&
32 sed -i "s|\t/usr|\t$DESTDIR/usr|" share/cmake_install.cmake
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs/
40 }