wok annotate hatari/receipt @ rev 22099
Add python-incremental
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 01 14:48:33 2019 +0100 (2019-11-01) |
parents | d098c6a40a2f |
children | 555325018523 |
rev | line source |
---|---|
pascal@19831 | 1 # SliTaz package receipt. |
pascal@19831 | 2 |
pascal@19831 | 3 PACKAGE="hatari" |
Hans-G?nter@21029 | 4 VERSION="2.2.0" |
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@21029 | 15 BUILD_DEPENDS="cmake libpng-dev libsdl2-dev portaudio-dev python-dev \ |
Hans-G?nter@21029 | 16 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 } |