wok-6.x view neonview/receipt @ rev 24453
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 15 18:29:48 2022 +0000 (2022-02-15) |
parents | b8d097791146 |
children | 1f9238437d3b |
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="http://www.tuxarena.com/neonview/"
11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
12 WGET_URL="http://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 - http://www.tuxarena.com/neonview/download/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed 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 }