wok view fsarchiver/receipt @ rev 25599

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 13:38:12 2023 +0000 (17 months ago)
parents 4dc049247076
children 8e5d9b75a03a
line source
1 # SliTaz package receipt.
3 PACKAGE="fsarchiver"
4 VERSION="0.8.6"
5 CATEGORY="utilities"
6 TAGS="compression filesystem archive backup"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 SHORT_DESC="A safe and flexible file-system backup and deployment tool."
10 WEB_SITE="https://www.fsarchiver.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/fdupoux/$PACKAGE/releases/download/$VERSION/$TARBALL"
15 DEPENDS="bzip2 e2fsprogs libcomerr3 libgcrypt liblzma lzo lz4-lib
16 util-linux-blkid xz zlib zstd"
17 BUILD_DEPENDS="attr-dev bzip2-dev e2fsprogs-dev libgcrypt-dev liblzma-dev
18 lz4-dev lzo-dev pkg-config util-linux-blkid-dev util-linux-uuid-dev
19 zlib-dev zstd-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
25 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR="$DESTDIR"
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders sbin
42 }