wok annotate neonview/receipt @ rev 24894

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 08 10:34:41 2022 +0000 (2022-04-08)
parents b8d097791146
children 1f9238437d3b
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"
al@14127 9 WEB_SITE="http://www.tuxarena.com/neonview/"
Hans-G?nter@21538 10
al@14127 11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
Hans-G?nter@21538 12 WGET_URL="http://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 }