wok diff slitaz-polar-cursors/receipt @ rev 24230

updated perl-json (4.02 -> 4.04)
author Hans-G?nter Theisgen
date Sun Jan 02 06:47:59 2022 +0100 (2022-01-02)
parents 40fab26c175d
children
line diff
     1.1 --- a/slitaz-polar-cursors/receipt	Mon May 09 21:59:10 2016 +0300
     1.2 +++ b/slitaz-polar-cursors/receipt	Sun Jan 02 06:47:59 2022 +0100
     1.3 @@ -8,11 +8,17 @@
     1.4  LICENSE="GPL3"
     1.5  TARBALL=$PACKAGE-$VERSION.tar.gz
     1.6  WEB_SITE="http://www.slitaz.org/"
     1.7 -WGET_URL="ftp://download.tuxfamily.org/slitaz/sources/artwok/$TARBALL"
     1.8 +WGET_URL="http://download.tuxfamily.org/slitaz/sources/artwok/$TARBALL"
     1.9  HOST_ARCH="i486 arm"
    1.10  
    1.11  BUILD_DEPENDS="xorg-xcursorgen"
    1.12  
    1.13 +current_version()
    1.14 +{
    1.15 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.16 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.17 +}
    1.18 +
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {