wok-6.x view lz4ultra/receipt @ rev 25174
updated python-flask (1.1.2 -> 1.1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:16:59 2022 +0100 (2022-07-01) |
parents | |
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 current_version()
15 {
16 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed 's|^CC=clang|CC=gcc|;s|^CFLAGS=|&-std=gnu99 |' -i Makefile &&
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $install/usr/share/doc
31 cp -a $src/lz4ultra $fs/usr/bin
32 cp -a $src/README.md $install/usr/share/doc
33 }