wok annotate neonview/receipt @ rev 25341

amule: update to new libupnp API
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 24 16:17:15 2022 +0000 (2022-07-24)
parents 241fb98cab1c
children 1e09c4c56491
rev   line source
al@14127 1 # SliTaz package receipt.
al@14127 2
al@14127 3 PACKAGE="neonview"
Hans-G?nter@21538 4 VERSION="0.8.2"
al@14127 5 CATEGORY="graphics"
Hans-G?nter@21538 6 SHORT_DESC="Free, lightweight image viewer."
al@14127 7 MAINTAINER="al.bobylev@gmail.com"
pascal@14653 8 LICENSE="GPL2"
pascal@25042 9 WEB_SITE="https://www.tuxarena.com/neonview/"
Hans-G?nter@21538 10
al@14127 11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
pascal@25042 12 WGET_URL="https://www.tuxarena.com/intro/files/$TARBALL"
al@14127 13
al@14127 14 DEPENDS="gtk+3"
al@14127 15 BUILD_DEPENDS="gtk+3-dev"
al@14127 16
pascal@24453 17 # What is the latest version available today?
pascal@24453 18 current_version()
pascal@24453 19 {
pascal@24453 20 wget -O - http://www.tuxarena.com/neonview/download/ 2>/dev/null | \
pascal@24453 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
pascal@24453 22 }
pascal@24453 23
al@14127 24 # Rules to configure and make the package.
al@14127 25 compile_rules()
al@14127 26 {
al@14127 27 make
al@14127 28 }
al@14127 29
al@14127 30 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14127 31 genpkg_rules()
al@14127 32 {
al@14127 33 install -Dm755 $src/neonview $fs/usr/bin/neonview
al@14127 34 }