wok-current annotate hatari/receipt @ rev 19928
Up slitaz-tools (1020)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 21 16:51:10 2017 +0200 (2017-04-21) |
parents | 3687205148b4 |
children | d098c6a40a2f |
rev | line source |
---|---|
pascal@19831 | 1 # SliTaz package receipt. |
pascal@19831 | 2 |
pascal@19831 | 3 PACKAGE="hatari" |
pascal@19831 | 4 VERSION="2.0.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" |
pascal@19831 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@19831 | 10 WEB_SITE="https://hatari.tuxfamily.org/" |
pascal@19831 | 11 WGET_URL="http://download.tuxfamily.org/$PACKAGE/$VERSION/$TARBALL" |
pascal@19831 | 12 |
pascal@19831 | 13 DEPENDS="zlib libpng readline libpng python portaudio" |
pascal@19831 | 14 BUILD_DEPENDS="cmake zlib-dev libsdl2-dev xorg-dev udev-dev readline-dev \ |
pascal@19831 | 15 libpng-dev python-dev portaudio-dev" |
pascal@19831 | 16 |
pascal@19831 | 17 # Rules to configure and make the package. |
pascal@19831 | 18 compile_rules() |
pascal@19831 | 19 { |
al@19834 | 20 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@19831 | 21 ./configure --prefix=/usr && |
pascal@19831 | 22 make && |
pascal@19835 | 23 sed -i "s|\t/usr|\t$DESTDIR/usr|" share/cmake_install.cmake |
pascal@19831 | 24 make DESTDIR=$DESTDIR install |
pascal@19831 | 25 } |
pascal@19831 | 26 |
pascal@19831 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19831 | 28 genpkg_rules() |
pascal@19831 | 29 { |
pascal@19831 | 30 cp -a $install/* $fs/ |
pascal@19831 | 31 } |