wok-current annotate fsarchiver/receipt @ rev 25653
lzo needed from fsarchiver
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 13 07:22:29 2024 +0100 (6 months ago) |
parents | 5ea0ce1cecc0 |
children | 90a314eadbda |
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@24055 | 21 current_version() |
pascal@24055 | 22 { |
pascal@24055 | 23 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 24 sed '/archive.*tar/!d;/fsarchiver-/!d;s|.*/fsarchiver-\(.*\).tar.*|\1|;q' |
pascal@24055 | 25 } |
pascal@24055 | 26 |
jozee@4951 | 27 # Rules to configure and make the package. |
pascal@22096 | 28 compile_rules() |
pascal@22096 | 29 { |
Hans-G?nter@24575 | 30 ./configure \ |
Hans-G?nter@24575 | 31 --prefix=/usr \ |
Hans-G?nter@24575 | 32 $CONFIGURE_ARGS && |
slaxemulator@7727 | 33 make && |
Hans-G?nter@24575 | 34 make install DESTDIR="$DESTDIR" |
jozee@4951 | 35 } |
jozee@4951 | 36 |
jozee@4951 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4951 | 38 genpkg_rules() |
jozee@4951 | 39 { |
Hans-G?nter@24575 | 40 cook_copy_folders sbin |
jozee@4951 | 41 } |