# SliTaz package receipt. PACKAGE="lz4ultra" VERSION="1.3.0" CATEGORY="base-system" SHORT_DESC="Optimal LZ4 packer with faster decompression." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="zlib/libpng cc" WEB_SITE="https://github.com/emmanuel-marty/lz4ultra" TARBALL="$PACKAGE-r$VERSION.tar.gz" WGET_URL="https://github.com/emmanuel-marty/lz4ultra/archive/$VERSION.tar.gz" TAGS="compression" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { sed 's|^CC=clang|CC=gcc|;s|^CFLAGS=|&-std=gnu99 |' -i Makefile && make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin $install/usr/share/doc cp -a $src/lz4ultra $fs/usr/bin cp -a $src/README.md $install/usr/share/doc }