wok view glza/receipt @ rev 25610

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 21 17:16:04 2023 +0000 (9 months ago)
parents 7ae189994f37
children
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/page30"
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/GLZA_v/!d;s|.*_v||;s|.zip.*||' | tail -n1
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make CC=gcc-49 LDFLAGS="$LDFLAGS -lrt -lm -pthread"
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin $install/usr/share/doc
34 cp -a $src/GLZA $fs/usr/bin/glza
35 cp -a $src/readme.txt $install/usr/share/doc
36 }