wok-6.x diff lcms2/receipt @ rev 24076
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 08 13:19:25 2021 +0000 (2021-07-08) |
parents | 0b02213fe0a1 |
children | 68080ae2ec03 |
line diff
1.1 --- a/lcms2/receipt Mon Jun 01 09:10:42 2020 +0000 1.2 +++ b/lcms2/receipt Thu Jul 08 13:19:25 2021 +0000 1.3 @@ -14,6 +14,13 @@ 1.4 BUILD_DEPENDS="jpeg-dev tiff-dev zlib-dev" 1.5 SPLIT="lcms2-apps" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://sourceforge.net/projects/lcms/files/lcms/ 2>/dev/null | \ 1.10 + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.11 + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {