wok view zbackup/receipt @ rev 25672
Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 26 14:07:44 2024 +0000 (10 months ago) |
parents | 5ea0ce1cecc0 |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export CC=gcc-83
28 export CXX=g++-83
29 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
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 mkdir -p $install/usr/share/doc
40 cp -a $install/usr/bin $fs/usr
41 cp -a $src/README.md $install/usr/share/doc
42 }