wok view fsarchiver/receipt @ rev 24116

Add btfs (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 02 18:25:40 2021 +0000 (2021-10-02)
parents 0b02213fe0a1
children 4dc049247076
line source
1 # SliTaz package receipt.
3 PACKAGE="fsarchiver"
4 VERSION="0.8.5"
5 CATEGORY="utilities"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="A safe and flexible file-system backup and deployment tool"
9 WEB_SITE="https://www.fsarchiver.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/fdupoux/fsarchiver/releases/download/$VERSION/$TARBALL"
12 TAGS="compression filesystem archive backup"
14 DEPENDS="bzip2 e2fsprogs lzo xz libgcrypt liblzma util-linux-blkid \
15 libcomerr3 zlib lz4-lib zstd"
16 BUILD_DEPENDS="bzip2-dev e2fsprogs-dev libgcrypt-dev lzo-dev liblzma-dev \
17 util-linux-blkid-dev attr-dev util-linux-uuid-dev zlib-dev pkg-config \
18 lz4-dev zstd-dev"
20 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/archive.*tar/!d;/fsarchiver-/!d;s|.*/fsarchiver-\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure --prefix=/usr $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR="$DESTDIR" install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/sbin $fs/usr
40 }