# SliTaz package receipt. PACKAGE="zpaq" VERSION="7.15" CATEGORY="utilities" SHORT_DESC="incremental journaling backup utility and archiver" MAINTAINER="necrophcodr@necrophcodr.me" LICENSE="GPL3" TARBALL="zpaq${VERSION/./}.zip" WEB_SITE="http://mattmahoney.net/dc/zpaq.html" WGET_URL="http://mattmahoney.net/dc/$TARBALL" DEPENDS="" BUILD_DEPENDS="" # What is the latest version available today? current_version() { wget -O - https://github.com/zpaq/zpaq/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { make && mkdir -p $install/usr/bin && cp zpaq $install/usr/bin/zpaq } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs/ }