wok diff lz4ultra/receipt @ rev 24941
memtest: add binutils 2.37 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 16 12:43:33 2022 +0000 (2022-04-16) |
parents | |
children | 7364ffdaaa60 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lz4ultra/receipt Sat Apr 16 12:43:33 2022 +0000 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lz4ultra" 1.7 +VERSION="1.3.0" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="Optimal LZ4 packer with faster decompression." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="zlib/libpng cc" 1.12 +WEB_SITE="https://github.com/emmanuel-marty/lz4ultra" 1.13 +TARBALL="$PACKAGE-r$VERSION.tar.gz" 1.14 +WGET_URL="https://github.com/emmanuel-marty/lz4ultra/archive/$VERSION.tar.gz" 1.15 +TAGS="compression" 1.16 + 1.17 +current_version() 1.18 +{ 1.19 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.20 + sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' 1.21 +} 1.22 + 1.23 +# Rules to configure and make the package. 1.24 +compile_rules() 1.25 +{ 1.26 + sed 's|^CC=clang|CC=gcc|;s|^CFLAGS=|&-std=gnu99 |' -i Makefile && 1.27 + make 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr/bin $install/usr/share/doc 1.34 + cp -a $src/lz4ultra $fs/usr/bin 1.35 + cp -a $src/README.md $install/usr/share/doc 1.36 +}