wok-current diff lzham_codec/receipt @ rev 23943
Up cryptsetup-dev (2.3.4), lzham_codec (1_0_stable1), slitaz-boot-scripts (466), tazlito (527)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 17 10:31:38 2020 +0000 (2020-09-17) |
parents | 3d6389217d9a |
children | 6b6d14c9f7e9 |
line diff
1.1 --- a/lzham_codec/receipt Thu Sep 10 17:29:00 2015 +0200 1.2 +++ b/lzham_codec/receipt Thu Sep 17 10:31:38 2020 +0000 1.3 @@ -1,19 +1,25 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="lzham_codec" 1.7 -VERSION="1.0" 1.8 +VERSION="1_0_stable1" 1.9 CATEGORY="base-system" 1.10 SHORT_DESC="Lossless data compression codec with LZMA-like ratios but 1.5x-8x faster decompression speed." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="MIT" 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 WEB_SITE="https://github.com/richgel999/lzham_codec" 1.15 -WGET_URL="$WEB_SITE/archive/v${VERSION/./_}_release.tar.gz" 1.16 +WGET_URL="$WEB_SITE/archive/v${VERSION/./_}.tar.gz" 1.17 TAGS="compression" 1.18 1.19 DEPENDS="gcc-lib-base" 1.20 BUILD_DEPENDS="wget cmake" 1.21 1.22 +current_version() 1.23 +{ 1.24 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.25 + sed '/archive.*tar/!d;s|.*archive/v\(.*\).tar.*|\1|;q' 1.26 +} 1.27 + 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 {