wok view zbackup/receipt @ rev 22774

Add serf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 25 17:25:42 2020 +0100 (2020-01-25)
parents a832eb25949c
children 5ea0ce1cecc0
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export CC=gcc-83
21 export CXX=g++-83
22 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 mkdir -p $install/usr/share/doc
33 cp -a $install/usr/bin $fs/usr
34 cp -a $src/README.md $install/usr/share/doc
35 }