wok-current view fsarchiver/receipt @ rev 25444
Up firefox-official (104.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 04 18:56:05 2022 +0000 (23 months ago) |
parents | 5ea0ce1cecc0 |
children | 90a314eadbda |
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 current_version()
22 {
23 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
24 sed '/archive.*tar/!d;/fsarchiver-/!d;s|.*/fsarchiver-\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install DESTDIR="$DESTDIR"
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders sbin
41 }