wok-6.x view hatari/receipt @ rev 22454
get-palemoon: add tar (magic) and J for .xz (downloaded archive is not bzip2 anymore)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Dec 26 11:01:01 2019 +0000 (2019-12-26) |
parents | d098c6a40a2f |
children | 555325018523 |
line source
1 # SliTaz package receipt.
3 PACKAGE="hatari"
4 VERSION="2.2.0"
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 python-dev \
16 readline-dev udev-dev xorg-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -ltinfo"
23 ./configure --prefix=/usr &&
24 make -j 1 &&
26 sed -i "s|\t/usr|\t$DESTDIR/usr|" share/cmake_install.cmake
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs/
34 }