wok annotate lz4ultra/receipt @ rev 25624

Add opendkim
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 16:45:57 2023 +0000 (12 months ago)
parents dc0f7fd1ff7d
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@25600 14 # What is the latest version available today?
pascal@24061 15 current_version()
pascal@24061 16 {
pascal@24061 17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25600 18 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24061 19 }
pascal@24061 20
pascal@24061 21 # Rules to configure and make the package.
pascal@24061 22 compile_rules()
pascal@24061 23 {
pascal@24061 24 sed 's|^CC=clang|CC=gcc|;s|^CFLAGS=|&-std=gnu99 |' -i Makefile &&
pascal@24061 25 make
pascal@24061 26 }
pascal@24061 27
pascal@24061 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@24061 29 genpkg_rules()
pascal@24061 30 {
pascal@24061 31 mkdir -p $fs/usr/bin $install/usr/share/doc
pascal@24061 32 cp -a $src/lz4ultra $fs/usr/bin
pascal@24061 33 cp -a $src/README.md $install/usr/share/doc
pascal@24061 34 }