wok annotate hatari/receipt @ rev 24867

updated lvm2, lvm2-dev, libdevmapper and libdevmapper-dev (2.03.08 -> 2.03.15)
author Hans-G?nter Theisgen
date Wed Mar 30 17:27:13 2022 +0100 (2022-03-30)
parents bf28cc07ebf1
children f2b4a9eb8bdd
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"
Hans-G?nter@21029 9 WEB_SITE="https://hatari.tuxfamily.org/"
Hans-G?nter@21029 10
pascal@19831 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@24637 12 WGET_URL="https://download.tuxfamily.org/$PACKAGE/$VERSION/$TARBALL"
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@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@24637 30 make &&
Hans-G?nter@21029 31
pascal@19835 32 sed -i "s|\t/usr|\t$DESTDIR/usr|" share/cmake_install.cmake
Hans-G?nter@24637 33 make install DESTDIR=$DESTDIR
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 {
Hans-G?nter@24637 39 cp -a $install/* $fs
pascal@19831 40 }