wok view zpaq/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 259bf47dcced
children 0262035dc1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="zpaq"
4 VERSION="7.15"
5 CATEGORY="utilities"
6 SHORT_DESC="incremental journaling backup utility and archiver"
7 MAINTAINER="necrophcodr@necrophcodr.me"
8 LICENSE="GPL3"
9 TARBALL="zpaq${VERSION/./}.zip"
10 WEB_SITE="http://mattmahoney.net/dc/zpaq.html"
11 WGET_URL="http://mattmahoney.net/dc/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/zpaq/zpaq/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make &&
27 mkdir -p $install/usr/bin &&
28 cp zpaq $install/usr/bin/zpaq
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs/
35 }