# SliTaz package receipt. PACKAGE="xz" VERSION="5.2.6" CATEGORY="base-system" TAGS="compression archive" SHORT_DESC="General-purpose data compressor with a high compression ratio." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="PublicDomain LGPL2.1 GPL2 GPL3" WEB_SITE="https://tukaani.org/xz" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$SF_MIRROR/lzmautils/$TARBALL" DEPENDS="liblzma" BUILD_DEPENDS="" HOST_ARCH="i486 arm x86_64" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed '/was released/!d;s| .*||;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --enable-dynamic=yes \ --enable-small \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $install/usr/bin/xz $fs/usr/bin }