wok-6.x view zbackup/receipt @ rev 20170

Add linux-debug (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 16 13:05:30 2018 +0100 (2018-01-16)
parents
children e8f42e9ff10b
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://zbackup.org/"
11 WGET_URL="https://github.com/zbackup/zbackup/archive/$VERSION.tar.gz"
13 DEPENDS="libssl protobuf liblzma zlib"
14 BUILD_DEPENDS="cmake openssl-dev protobuf-dev liblzma-dev lzo-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr $install/usr/share/doc
28 cp -a $install/usr/bin $fs/usr
29 cp -a $src/README.md $install/usr/share/doc
30 }