wok diff gource/receipt @ rev 24727
cookutils: add repo-cooking (used by tank)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 15 10:59:31 2022 +0000 (2022-03-15) |
parents | 25abe1edd77f |
children | 20ad21d5532c |
line diff
1.1 --- a/gource/receipt Fri Feb 21 17:10:22 2020 +0100 1.2 +++ b/gource/receipt Tue Mar 15 10:59:31 2022 +0000 1.3 @@ -15,6 +15,12 @@ 1.4 BUILD_DEPENDS="freetype-dev ftgl-dev glew-dev glm libboost-filesystem-dev 1.5 libsdl2-dev libsdl2-image-dev mesa-dev pcre-dev" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 1.10 + sed '/archive.*tar/!d;s|.*/gource-\(.*\).tar.*|\1|;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {