wok diff tazpkg/receipt @ rev 24596

updated gftp (2.0.19 -> 2.9.1b)
author Hans-G?nter Theisgen
date Tue Mar 01 15:53:52 2022 +0100 (2022-03-01)
parents b57d2cbc7c42
children 50a8a74fbda3
line diff
     1.1 --- a/tazpkg/receipt	Fri Sep 18 15:48:56 2020 +0000
     1.2 +++ b/tazpkg/receipt	Tue Mar 01 15:53:52 2022 +0100
     1.3 @@ -21,6 +21,13 @@
     1.4  	arm)  BUILD_DEPENDS="" ;;
     1.5  esac
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
    1.10 +	sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
    1.11 +	xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
    1.12 +}
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for TazPkg.
    1.15  #
    1.16  # TazPkg is SliTaz packages manager. On an other GNU/Linux install