wok view neonview/receipt @ rev 25610

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 21 17:16:04 2023 +0000 (16 months ago)
parents 1f9238437d3b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="neonview"
4 VERSION="0.8.2"
5 CATEGORY="graphics"
6 SHORT_DESC="Free, lightweight image viewer."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.tuxarena.com/intro/neonview.php"
11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
12 WGET_URL="https://www.tuxarena.com/intro/files/$TARBALL"
14 DEPENDS="gtk+3"
15 BUILD_DEPENDS="gtk+3-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/neonview-/!d;/tar/!d;s|.*neonview-||;s|-.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 install -Dm755 $src/neonview $fs/usr/bin/neonview
34 }