wok view cmix/receipt @ rev 24445

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 14 14:14:23 2022 +0000 (2022-02-14)
parents 2667a1709ae9
children fe1b5660fdd1
line source
1 # SliTaz package receipt.
3 PACKAGE="cmix"
4 VERSION="18"
5 CATEGORY="system-tools"
6 SHORT_DESC="lossless data compression with high ratio but high CPU/memory usage"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-v$VERSION.zip"
10 WEB_SITE="http://www.byronknoll.com/cmix.html"
11 WGET_URL="http://www.byronknoll.com/$TARBALL"
13 DEPENDS="gcc83-lib-base"
14 BUILD_DEPENDS="gcc83"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://github.com/byronknoll/cmix/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
20 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make CC=g++-83
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/cmix $fs/usr/bin
34 }