wok rev 24176
Add glza
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 30 18:02:41 2021 +0000 (2021-12-30) |
parents | 0b7b8e414545 |
children | 27c664d6b7a3 |
files | glza/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/glza/receipt Thu Dec 30 18:02:41 2021 +0000 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="glza" 1.7 +VERSION="0.11.2" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="Lossless compressor." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="Apache" 1.12 +WEB_SITE="https://encode.su/threads/1909-Tree-alpha-v0-1-download?p=55433" 1.13 +TARBALL="$PACKAGE-$VERSION.zip" 1.14 +WGET_URL="https://encode.su/attachment.php?s=bd0e90e62fc3c2773c0991196f29eb4b&attachmentid=7173&d=1577648098" 1.15 +TAGS="compression" 1.16 + 1.17 +BUILD_DEPENDS="gcc49" 1.18 + 1.19 +current_version() 1.20 +{ 1.21 + wget -O - $WEB_SITE 2>/dev/null | \ 1.22 + sed '/GLZA_v/!d;s|.*_v||;s|.zip.*||' | tail -n1 1.23 +} 1.24 + 1.25 +# Rules to configure and make the package. 1.26 +compile_rules() 1.27 +{ 1.28 + make CC=gcc-49 LDFLAGS="$LDFLAGS -lrt -lm -pthread" 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr/bin 1.35 + cp -a $src/GLZA $fs/usr/bin/glza 1.36 +}