wok annotate zpaq/receipt @ rev 25656
Up fwknop (2.6.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 09 11:08:06 2024 +0000 (7 months ago) |
parents | 922f061231c2 |
children |
rev | line source |
---|---|
tcg@17138 | 1 # SliTaz package receipt. |
tcg@17138 | 2 |
tcg@17138 | 3 PACKAGE="zpaq" |
pascal@20330 | 4 VERSION="7.15" |
tcg@17138 | 5 CATEGORY="utilities" |
tcg@17138 | 6 SHORT_DESC="incremental journaling backup utility and archiver" |
necrophcodr@17744 | 7 MAINTAINER="necrophcodr@necrophcodr.me" |
tcg@17138 | 8 LICENSE="GPL3" |
pascal@17747 | 9 TARBALL="zpaq${VERSION/./}.zip" |
tcg@17138 | 10 WEB_SITE="http://mattmahoney.net/dc/zpaq.html" |
pascal@17747 | 11 WGET_URL="http://mattmahoney.net/dc/$TARBALL" |
tcg@17138 | 12 |
tcg@17138 | 13 DEPENDS="" |
tcg@17138 | 14 BUILD_DEPENDS="" |
tcg@17138 | 15 |
pascal@24304 | 16 # What is the latest version available today? |
pascal@24304 | 17 current_version() |
pascal@24304 | 18 { |
pascal@24304 | 19 wget -O - https://github.com/zpaq/zpaq/releases 2>/dev/null | \ |
pascal@25601 | 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24304 | 21 } |
pascal@24304 | 22 |
tcg@17138 | 23 # Rules to configure and make the package. |
tcg@17138 | 24 compile_rules() |
tcg@17138 | 25 { |
tcg@17138 | 26 make && |
tcg@17138 | 27 mkdir -p $install/usr/bin && |
tcg@17138 | 28 cp zpaq $install/usr/bin/zpaq |
tcg@17138 | 29 } |
tcg@17138 | 30 |
tcg@17138 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
tcg@17138 | 32 genpkg_rules() |
tcg@17138 | 33 { |
tcg@17138 | 34 cp -a $install/usr $fs/ |
tcg@17138 | 35 } |