wok view glza/receipt @ rev 24576
updated fswebcam (20140113 -> 20200725)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 10:49:46 2022 +0100 (2022-02-27) |
parents | |
children | 6e5c8ce7fb15 |
line source
1 # SliTaz package receipt.
3 PACKAGE="glza"
4 VERSION="0.11.2"
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?s=bd0e90e62fc3c2773c0991196f29eb4b&attachmentid=7173&d=1577648098"
12 TAGS="compression"
14 BUILD_DEPENDS="gcc49"
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/GLZA_v/!d;s|.*_v||;s|.zip.*||' | tail -n1
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make CC=gcc-49 LDFLAGS="$LDFLAGS -lrt -lm -pthread"
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $src/GLZA $fs/usr/bin/glza
33 }