wok annotate fsarchiver/receipt @ rev 25599

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