wok view zpaq/receipt @ rev 24417

created recipes for perl-cairo-gobject, perl-glib-object-introspection and perl-gtk3
author Hans-G?nter Theisgen
date Fri Feb 11 09:16:47 2022 +0100 (2022-02-11)
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 }