wok diff giac/receipt @ rev 25482
created recipe for py3k-cparser
author | Hans-G?nter Theisgen |
---|---|
date | Mon Oct 17 07:46:10 2022 +0100 (2022-10-17) |
parents | b55f6ebcce61 |
children |
line diff
1.1 --- a/giac/receipt Wed Mar 02 07:39:53 2022 +0100 1.2 +++ b/giac/receipt Mon Oct 17 07:46:10 2022 +0100 1.3 @@ -21,7 +21,7 @@ 1.4 current_version() 1.5 { 1.6 wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.7 - sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.8 + sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|;s|-|.|g" | sort -Vr | sed q 1.9 } 1.10 1.11 # Rules to configure and make the package.