wok-6.x annotate lz4ultra/receipt @ rev 25458
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 27 16:21:52 2022 +0000 (2022-09-27) |
parents | |
children |
rev | line source |
---|---|
pascal@24061 | 1 # SliTaz package receipt. |
pascal@24061 | 2 |
pascal@24061 | 3 PACKAGE="lz4ultra" |
pascal@24061 | 4 VERSION="1.3.0" |
pascal@24061 | 5 CATEGORY="base-system" |
pascal@24061 | 6 SHORT_DESC="Optimal LZ4 packer with faster decompression." |
pascal@24061 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@24061 | 8 LICENSE="zlib/libpng cc" |
pascal@24061 | 9 WEB_SITE="https://github.com/emmanuel-marty/lz4ultra" |
pascal@24061 | 10 TARBALL="$PACKAGE-r$VERSION.tar.gz" |
pascal@24061 | 11 WGET_URL="https://github.com/emmanuel-marty/lz4ultra/archive/$VERSION.tar.gz" |
pascal@24061 | 12 TAGS="compression" |
pascal@24061 | 13 |
pascal@24061 | 14 current_version() |
pascal@24061 | 15 { |
pascal@24061 | 16 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24061 | 17 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24061 | 18 } |
pascal@24061 | 19 |
pascal@24061 | 20 # Rules to configure and make the package. |
pascal@24061 | 21 compile_rules() |
pascal@24061 | 22 { |
pascal@24061 | 23 sed 's|^CC=clang|CC=gcc|;s|^CFLAGS=|&-std=gnu99 |' -i Makefile && |
pascal@24061 | 24 make |
pascal@24061 | 25 } |
pascal@24061 | 26 |
pascal@24061 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@24061 | 28 genpkg_rules() |
pascal@24061 | 29 { |
pascal@24061 | 30 mkdir -p $fs/usr/bin $install/usr/share/doc |
pascal@24061 | 31 cp -a $src/lz4ultra $fs/usr/bin |
pascal@24061 | 32 cp -a $src/README.md $install/usr/share/doc |
pascal@24061 | 33 } |