SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "fsarchiver"

# SliTaz package receipt.

PACKAGE="fsarchiver"
VERSION="0.8.6"
CATEGORY="utilities"
TAGS="compression filesystem archive backup"
MAINTAINER="jozee@slitaz.org"
LICENSE="GPL2"
SHORT_DESC="A safe and flexible file-system backup and deployment tool."
WEB_SITE="https://www.fsarchiver.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/fdupoux/$PACKAGE/releases/download/$VERSION/$TARBALL"

DEPENDS="bzip2 e2fsprogs libcomerr3 libgcrypt liblzma lzo lz4-lib
    util-linux-blkid xz zlib zstd"
BUILD_DEPENDS="attr-dev bzip2-dev e2fsprogs-dev libgcrypt-dev liblzma-dev
    lz4-dev lzo-dev pkg-config util-linux-blkid-dev util-linux-uuid-dev
    zlib-dev zstd-dev"

current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/archive.*tar/!d;/fsarchiver-/!d;s|.*/fsarchiver-\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure        \
        --prefix=/usr    \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR="$DESTDIR"
}
    
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    sbin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)