wok view glza/receipt @ rev 25036

gtk-gnutella: binutils 2.34+ support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 13:10:56 2022 +0000 (23 months ago)
parents 62cc22bebaa9
children 7ae189994f37
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=a72a69ab5c0c400ef5fbc419099b4e0f&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 }