wok diff pyrit/receipt @ rev 25808

created recipe for xmenu
author Hans-G?nter Theisgen
date Thu Dec 19 16:09:37 2024 +0100 (5 days ago)
parents 5ea0ce1cecc0
children
line diff
     1.1 --- a/pyrit/receipt	Tue Jun 08 08:46:05 2021 +0000
     1.2 +++ b/pyrit/receipt	Thu Dec 19 16:09:37 2024 +0100
     1.3 @@ -13,10 +13,11 @@
     1.4  DEPENDS="python libcrypto libpcap"
     1.5  BUILD_DEPENDS="python-setuptools python-dev openssl-dev libpcap-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10  	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.11 -	sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
    1.12 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    1.13  }
    1.14  
    1.15  # Rules to configure and make the package.