wok diff plm2c/receipt @ rev 25075
created recipe for alsa-ucm-conf
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 14 07:07:03 2022 +0100 (2022-06-14) |
parents | ca4434937abf |
children |
line diff
1.1 --- a/plm2c/receipt Sun Mar 22 09:52:23 2015 +0100 1.2 +++ b/plm2c/receipt Tue Jun 14 07:07:03 2022 +0100 1.3 @@ -10,6 +10,15 @@ 1.4 WEB_SITE="http://www.cpm.z80.de/source.html" 1.5 WGET_URL="http://www.cpm.z80.de/download/$TARBALL" 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 + busybox unzip -p /dev/stdin PLM2C.ZIP | \ 1.12 + busybox unzip -p /dev/stdin plm2c/version.c | \ 1.13 + sed 's|.*sion ||;s| .*||;q' 1.14 +} 1.15 + 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 {