wok annotate hatari/receipt @ rev 24422

updated claws-mail packages (3.17.5 -> 3.18.0)
author Hans-G?nter Theisgen
date Fri Feb 11 16:39:51 2022 +0100 (2022-02-11)
parents 3e2a0347b2f1
children 4dd970e17c72
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@24074 18 current_version()
pascal@24074 19 {
pascal@24079 20 wget -O - http://download.tuxfamily.org/$PACKAGE 2>/dev/null | \
pascal@24079 21 sed "/href=\"[0-9]/!d;s|.*href=\"\\(.*\\)/\".*|\\1|" | sort -Vr | sed q
pascal@24074 22 }
pascal@24074 23
pascal@19831 24 # Rules to configure and make the package.
pascal@19831 25 compile_rules()
pascal@19831 26 {
al@19834 27 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@21029 28
pascal@19831 29 ./configure --prefix=/usr &&
Hans-G?nter@21029 30 make -j 1 &&
Hans-G?nter@21029 31
pascal@19835 32 sed -i "s|\t/usr|\t$DESTDIR/usr|" share/cmake_install.cmake
pascal@19831 33 make DESTDIR=$DESTDIR install
pascal@19831 34 }
pascal@19831 35
pascal@19831 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19831 37 genpkg_rules()
pascal@19831 38 {
pascal@19831 39 cp -a $install/* $fs/
pascal@19831 40 }