wok annotate glza/receipt @ rev 24865
updated lsscsi (0.31 -> 0.32)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 30 06:29:17 2022 +0100 (2022-03-30) |
parents | |
children | 6e5c8ce7fb15 |
rev | line source |
---|---|
pascal@24176 | 1 # SliTaz package receipt. |
pascal@24176 | 2 |
pascal@24176 | 3 PACKAGE="glza" |
pascal@24176 | 4 VERSION="0.11.2" |
pascal@24176 | 5 CATEGORY="base-system" |
pascal@24176 | 6 SHORT_DESC="Lossless compressor." |
pascal@24176 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@24176 | 8 LICENSE="Apache" |
pascal@24176 | 9 WEB_SITE="https://encode.su/threads/1909-Tree-alpha-v0-1-download?p=55433" |
pascal@24176 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@24176 | 11 WGET_URL="https://encode.su/attachment.php?s=bd0e90e62fc3c2773c0991196f29eb4b&attachmentid=7173&d=1577648098" |
pascal@24176 | 12 TAGS="compression" |
pascal@24176 | 13 |
pascal@24176 | 14 BUILD_DEPENDS="gcc49" |
pascal@24176 | 15 |
pascal@24176 | 16 current_version() |
pascal@24176 | 17 { |
pascal@24176 | 18 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24176 | 19 sed '/GLZA_v/!d;s|.*_v||;s|.zip.*||' | tail -n1 |
pascal@24176 | 20 } |
pascal@24176 | 21 |
pascal@24176 | 22 # Rules to configure and make the package. |
pascal@24176 | 23 compile_rules() |
pascal@24176 | 24 { |
pascal@24176 | 25 make CC=gcc-49 LDFLAGS="$LDFLAGS -lrt -lm -pthread" |
pascal@24176 | 26 } |
pascal@24176 | 27 |
pascal@24176 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@24176 | 29 genpkg_rules() |
pascal@24176 | 30 { |
pascal@24176 | 31 mkdir -p $fs/usr/bin |
pascal@24176 | 32 cp -a $src/GLZA $fs/usr/bin/glza |
pascal@24176 | 33 } |