wok diff cpuspeed/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 a78610b2eb47
children
line diff
     1.1 --- a/cpuspeed/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/cpuspeed/receipt	Tue Mar 01 15:53:52 2022 +0100
     1.3 @@ -12,11 +12,18 @@
     1.4  WGET_URL="https://www.carlthompson.net/downloads/$PACKAGE/$TARBALL"
     1.5  TAGS="power-management"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    1.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15 -
    1.16 -compile_rules() {
    1.17 -  cd $src  
    1.18 -  make 
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src  
    1.22 +	make 
    1.23  }
    1.24  	
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.