wok annotate hatari/receipt @ rev 23160
updated lzsa (0.5.6 -> 1.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 17 14:14:41 2020 +0100 (2020-03-17) |
parents | 614be4796bf2 |
children | 3e2a0347b2f1 |
rev | line source |
---|---|
pascal@19831 | 1 # SliTaz package receipt. |
pascal@19831 | 2 |
pascal@19831 | 3 PACKAGE="hatari" |
Hans-G?nter@22925 | 4 VERSION="2.2.1" |
pascal@19831 | 5 CATEGORY="misc" |
pascal@19831 | 6 SHORT_DESC="An Atari ST/STE/TT/Falcon emulator." |
pascal@19831 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19831 | 8 LICENSE="GPL2" |
Hans-G?nter@21029 | 9 WEB_SITE="https://hatari.tuxfamily.org/" |
Hans-G?nter@21029 | 10 |
pascal@19831 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@19831 | 12 WGET_URL="http://download.tuxfamily.org/$PACKAGE/$VERSION/$TARBALL" |
pascal@19831 | 13 |
mojo@21401 | 14 DEPENDS="libdb libpng libsdl2 portaudio python readline zlib" |
Hans-G?nter@22925 | 15 BUILD_DEPENDS="cmake libpng-dev libsdl2-dev portaudio-dev |
Hans-G?nter@22925 | 16 python-dev readline-dev udev-dev xorg-dev zlib-dev" |
pascal@19831 | 17 |
pascal@19831 | 18 # Rules to configure and make the package. |
pascal@19831 | 19 compile_rules() |
pascal@19831 | 20 { |
al@19834 | 21 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@21029 | 22 |
pascal@19831 | 23 ./configure --prefix=/usr && |
Hans-G?nter@21029 | 24 make -j 1 && |
Hans-G?nter@21029 | 25 |
pascal@19835 | 26 sed -i "s|\t/usr|\t$DESTDIR/usr|" share/cmake_install.cmake |
pascal@19831 | 27 make DESTDIR=$DESTDIR install |
pascal@19831 | 28 } |
pascal@19831 | 29 |
pascal@19831 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19831 | 31 genpkg_rules() |
pascal@19831 | 32 { |
pascal@19831 | 33 cp -a $install/* $fs/ |
pascal@19831 | 34 } |