wok view glza/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 6e5c8ce7fb15
children 1e09c4c56491
line source
1 # SliTaz package receipt.
3 PACKAGE="glza"
4 VERSION="0.11.4"
5 CATEGORY="base-system"
6 SHORT_DESC="Lossless compressor."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://encode.su/threads/1909-Tree-alpha-v0-1-download?p=55433"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WGET_URL="https://encode.su/attachment.php?attachmentid=8099&d=1606032483"
13 TAGS="compression"
15 BUILD_DEPENDS="gcc49"
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/GLZA_v/!d;s|.*_v||;s|.zip.*||' | tail -n1
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make CC=gcc-49 LDFLAGS="$LDFLAGS -lrt -lm -pthread"
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $install/usr/share/doc
33 cp -a $src/GLZA $fs/usr/bin/glza
34 cp -a $src/readme.txt $install/usr/share/doc
35 }