# SliTaz package receipt. PACKAGE="lbzip2" VERSION="2.5" CATEGORY="base-system" SHORT_DESC="Parallel implementation of bzip2." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://github.com/kjn/lbzip2/" WGET_URL="http://deb.debian.org/debian/pool/main/l/lbzip2/lbzip2_$VERSION.orig.tar.bz2" current_version() { wget -O - ${WEB_SITE}/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./configure --prefix=/usr $CONFIGURE_ARGS && make check && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr }