wok view glza/receipt @ rev 25670
Up mediawiki (1.41.0), memcached (1.6.23), metasploit (6.3.56), modsecurity-apache (2.9.7), mutt (2.2.12), ncurses (6.4), nginx (1.25.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 25 17:20:49 2024 +0000 (8 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 }