wok diff zbackup/receipt @ rev 20019
Add zbackup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 15 12:35:07 2017 +0200 (2017-08-15) |
parents | |
children | e8f42e9ff10b |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/zbackup/receipt Tue Aug 15 12:35:07 2017 +0200 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="zbackup" 1.7 +VERSION="1.4.4" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="A versatile deduplicating backup tool." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL2 GPL3" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://zbackup.org/" 1.14 +WGET_URL="https://github.com/zbackup/zbackup/archive/$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="libssl protobuf liblzma zlib" 1.17 +BUILD_DEPENDS="cmake openssl-dev protobuf-dev liblzma-dev lzo-dev zlib-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cmake -DCMAKE_INSTALL_PREFIX=/usr . && 1.23 + make && 1.24 + make DESTDIR=$DESTDIR install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr $install/usr/share/doc 1.31 + cp -a $install/usr/bin $fs/usr 1.32 + cp -a $src/README.md $install/usr/share/doc 1.33 +}