Receipt for package "zstd"
# SliTaz package receipt. PACKAGE="zstd" VERSION="1.5.6" CATEGORY="base-system" TAGS="compression" SHORT_DESC="Zstandard - Fast and efficient compression algorithm." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD GPL2" WEB_SITE="https://github.com/facebook/zstd" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/facebook/zstd/archive/v$VERSION.tar.gz" DEPENDS="liblzma lz4-lib" BUILD_DEPENDS="grep liblzma-dev lz4-dev" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. compile_rules() { export LDFLAGS="$LDFLAGS -lrt" cd $src/lib make && make PREFIX=/usr DESTDIR=$DESTDIR install cd $src/programs make && make PREFIX=/usr DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib mkdir -p $install/usr/share cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib/ cp -a $src/doc $install/usr/share }
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)