# SliTaz package receipt. PACKAGE="p7zip" VERSION="16.02" CATEGORY="utilities" SHORT_DESC="A file archiver with a high compression ratio (supports only 7z archives)" MAINTAINER="milka@konstelacioj.info" LICENSE="LGPL2.1" TARBALL="${PACKAGE}_${VERSION}_src_all.tar.bz2" WEB_SITE="https://p7zip.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href=".*p7zip/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { make 7zr } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $src/bin $fs/usr }