wok annotate hatari/receipt @ rev 25809
Fix gtk+3 dep for libwnck3, thanks Ceel
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jan 03 16:23:37 2025 +0000 (2 weeks ago) |
parents | f2b4a9eb8bdd |
children |
rev | line source |
---|---|
pascal@19831 | 1 # SliTaz package receipt. |
pascal@19831 | 2 |
pascal@19831 | 3 PACKAGE="hatari" |
Hans-G?nter@24637 | 4 VERSION="2.3.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" |
pascal@25594 | 9 WEB_SITE="https://github.com/hatari/hatari" |
Hans-G?nter@21029 | 10 |
pascal@25699 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25699 | 12 WGET_URL="https://github.com/hatari/hatari/archive/refs/tags/v$VERSION.tar.gz" |
pascal@19831 | 13 |
Hans-G?nter@24637 | 14 DEPENDS="libdb libpng libsdl2 portaudio py3k readline zlib" |
Hans-G?nter@24637 | 15 BUILD_DEPENDS="cmake libpng-dev libsdl2-dev portaudio-dev py3k-dev |
Hans-G?nter@24637 | 16 readline-dev udev-dev xorg-dev zlib-dev" |
pascal@19831 | 17 |
pascal@25699 | 18 # What is the latest version available today? |
pascal@24074 | 19 current_version() |
pascal@24074 | 20 { |
pascal@25699 | 21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@25699 | 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24074 | 23 } |
pascal@24074 | 24 |
pascal@19831 | 25 # Rules to configure and make the package. |
pascal@19831 | 26 compile_rules() |
pascal@19831 | 27 { |
al@19834 | 28 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@21029 | 29 |
pascal@19831 | 30 ./configure --prefix=/usr && |
Hans-G?nter@24637 | 31 make && |
Hans-G?nter@21029 | 32 |
pascal@19835 | 33 sed -i "s|\t/usr|\t$DESTDIR/usr|" share/cmake_install.cmake |
Hans-G?nter@24637 | 34 make install DESTDIR=$DESTDIR |
pascal@19831 | 35 } |
pascal@19831 | 36 |
pascal@19831 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19831 | 38 genpkg_rules() |
pascal@19831 | 39 { |
Hans-G?nter@24637 | 40 cp -a $install/* $fs |
pascal@19831 | 41 } |