wok view glza/receipt @ rev 24961
ncursesw-dev: added pkgconfig directory
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 24 06:29:03 2022 +0100 (2022-04-24) |
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 }