wok diff lz4ultra/receipt @ rev 25217
updated python-pdfkit (0.6.1 -> 1.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 15:33:13 2022 +0100 (2022-07-13) |
parents | |
children | 7364ffdaaa60 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lz4ultra/receipt Wed Jul 13 15:33:13 2022 +0100 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 +}