wok-6.x view glza/receipt @ rev 25205
updated python-mysql (1.2.3 -> 1.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 14:37:54 2022 +0100 (2022-07-13) |
parents | 6e5c8ce7fb15 |
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?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 }