wok-current diff zultra/receipt @ rev 25667
Up kernel to 5.10.210 and aufs5
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Mar 02 17:27:56 2024 +0000 (8 months ago) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/zultra/receipt Sat Mar 02 17:27:56 2024 +0000 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="zultra" 1.7 +VERSION="1.0.0" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Fast near-optimal deflate/zlib/gzip compression." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="zlib/libpng cc" 1.12 +WEB_SITE="https://github.com/emmanuel-marty/zultra" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 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 -i 's|^CC=.*$|CC=gcc|;s|^CFLAGS=|&-std=gnu99 |' \ 1.27 + Makefile 1.28 + make 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr/bin 1.35 + mkdir -p $install/usr/share/doc 1.36 + 1.37 + cp -a $src/zultra $fs/usr/bin 1.38 + cp $src/README* $install/usr/share/doc 1.39 +}