wok view lz4ultra/receipt @ rev 25605

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 19 10:59:53 2023 +0000 (16 months ago)
parents dc0f7fd1ff7d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lz4ultra"
4 VERSION="1.3.0"
5 CATEGORY="base-system"
6 SHORT_DESC="Optimal LZ4 packer with faster decompression."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="zlib/libpng cc"
9 WEB_SITE="https://github.com/emmanuel-marty/lz4ultra"
10 TARBALL="$PACKAGE-r$VERSION.tar.gz"
11 WGET_URL="https://github.com/emmanuel-marty/lz4ultra/archive/$VERSION.tar.gz"
12 TAGS="compression"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
18 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 sed 's|^CC=clang|CC=gcc|;s|^CFLAGS=|&-std=gnu99 |' -i Makefile &&
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $install/usr/share/doc
32 cp -a $src/lz4ultra $fs/usr/bin
33 cp -a $src/README.md $install/usr/share/doc
34 }