wok-current view zbackup/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | e8f42e9ff10b |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="zbackup"
4 VERSION="1.4.4"
5 CATEGORY="network"
6 SHORT_DESC="A versatile deduplicating backup tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 GPL3"
9 WEB_SITE="http://zbackup.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/zbackup/zbackup/archive/$VERSION.tar.gz"
14 DEPENDS="gcc83-lib-base liblzma libssl protobuf zlib"
15 BUILD_DEPENDS="cmake gcc83 liblzma-dev lzo-dev openssl-dev protobuf-dev zlib-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export CC=gcc-83
27 export CXX=g++-83
28 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 mkdir -p $install/usr/share/doc
39 cp -a $install/usr/bin $fs/usr
40 cp -a $src/README.md $install/usr/share/doc
41 }