wok diff cpuspeed/receipt @ rev 25345

updated tar and tar-lang (1.32 -> 1.34)
author Hans-G?nter Theisgen
date Mon Jul 25 07:58:01 2022 +0100 (2022-07-25)
parents a78610b2eb47
children
line diff
     1.1 --- a/cpuspeed/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/cpuspeed/receipt	Mon Jul 25 07:58:01 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.