wok-6.x diff micropython/receipt @ rev 25499
Up whois (5.5.14)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 22 13:03:20 2022 +0000 (22 months ago) |
parents | b942370ae50f |
children |
line diff
1.1 --- a/micropython/receipt Fri Mar 06 10:37:21 2015 +0100 1.2 +++ b/micropython/receipt Thu Dec 22 13:03:20 2022 +0000 1.3 @@ -13,6 +13,12 @@ 1.4 DEPENDS="readline libffi" 1.5 BUILD_DEPENDS="wget git readline-dev libffi-dev pkg-config" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.10 + sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {