wok-current diff lz4ultra/receipt @ rev 25095
Up libkeybinder (0.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 18 13:48:16 2022 +0000 (2022-06-18) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lz4ultra/receipt Sat Jun 18 13:48:16 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 +}