wok-6.x annotate fuse-emulator/receipt @ rev 24652

updated i3 and i3-man (4.19.2 -> 4.20.1)
author Hans-G?nter Theisgen
date Fri Mar 11 06:27:26 2022 +0100 (2022-03-11)
parents 640a2eba2511
children 65ff25c4de90
rev   line source
slaxemulator@9457 1 # SliTaz package receipt.
slaxemulator@9457 2
slaxemulator@9457 3 PACKAGE="fuse-emulator"
Hans-G?nter@24582 4 VERSION="1.6.0"
slaxemulator@9457 5 CATEGORY="games"
Hans-G?nter@22785 6 TAGS="emulator spectrum"
Hans-G?nter@22785 7 SHORT_DESC="ZX Spectrum emulator."
slaxemulator@9457 8 MAINTAINER="slaxemulator@gmail.com"
pascal@15001 9 LICENSE="GPL2"
slaxemulator@9457 10 WEB_SITE="http://fuse-emulator.sourceforge.net/fuse.php"
Hans-G?nter@22785 11
Hans-G?nter@22785 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22786 13 WGET_URL="$SF_MIRROR/$PACKAGE/fuse-$VERSION.tar.gz"
slaxemulator@9457 14
pankso@9953 15 DEPENDS="alsa-lib gtk+ libpng libspectrum libxml2"
Hans-G?nter@22785 16 BUILD_DEPENDS="alsa-lib-dev gtk+-dev libpng-dev libspectrum-dev
Hans-G?nter@22785 17 libxml2-dev"
pankso@9953 18
pascal@24385 19 # What is the latest version available today?
pascal@24385 20 current_version()
pascal@24385 21 {
pascal@24385 22 wget -O - https://sourceforge.net/projects/fuse-emulator/files/fuse/ 2>/dev/null | \
pascal@24385 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24385 24 sed '/scope="row/!d;s|.*/fuse/||;s|/.*||;q'
pascal@24385 25 }
pascal@24385 26
slaxemulator@9457 27 # Rules to configure and make the package.
slaxemulator@9457 28 compile_rules()
slaxemulator@9457 29 {
Hans-G?nter@22785 30 ./configure \
Hans-G?nter@22785 31 LIBSPECTRUM_CFLAGS=" " \
Hans-G?nter@22785 32 LIBSPECTRUM_LIBS=/usr/lib/libspectrum.so \
Hans-G?nter@22785 33 $CONFIGURE_ARGS &&
Hans-G?nter@22785 34 make &&
Hans-G?nter@22785 35 make install
slaxemulator@9457 36 }
slaxemulator@9457 37
slaxemulator@9457 38 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9457 39 genpkg_rules()
slaxemulator@9457 40 {
slaxemulator@9457 41 mkdir -p $fs/usr/share
Hans-G?nter@22785 42
Hans-G?nter@22785 43 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22785 44 cp -a $install/usr/share/fuse $fs/usr/share
slaxemulator@9457 45 }