wok-current annotate zbackup/receipt @ rev 20384
p11-kit-dev: remove WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 20 13:19:55 2018 +0200 (2018-06-20) |
parents | |
children | e8f42e9ff10b |
rev | line source |
---|---|
pascal@20019 | 1 # SliTaz package receipt. |
pascal@20019 | 2 |
pascal@20019 | 3 PACKAGE="zbackup" |
pascal@20019 | 4 VERSION="1.4.4" |
pascal@20019 | 5 CATEGORY="network" |
pascal@20019 | 6 SHORT_DESC="A versatile deduplicating backup tool." |
pascal@20019 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20019 | 8 LICENSE="GPL2 GPL3" |
pascal@20019 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20019 | 10 WEB_SITE="http://zbackup.org/" |
pascal@20019 | 11 WGET_URL="https://github.com/zbackup/zbackup/archive/$VERSION.tar.gz" |
pascal@20019 | 12 |
pascal@20019 | 13 DEPENDS="libssl protobuf liblzma zlib" |
pascal@20019 | 14 BUILD_DEPENDS="cmake openssl-dev protobuf-dev liblzma-dev lzo-dev zlib-dev" |
pascal@20019 | 15 |
pascal@20019 | 16 # Rules to configure and make the package. |
pascal@20019 | 17 compile_rules() |
pascal@20019 | 18 { |
pascal@20019 | 19 cmake -DCMAKE_INSTALL_PREFIX=/usr . && |
pascal@20019 | 20 make && |
pascal@20019 | 21 make DESTDIR=$DESTDIR install |
pascal@20019 | 22 } |
pascal@20019 | 23 |
pascal@20019 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20019 | 25 genpkg_rules() |
pascal@20019 | 26 { |
pascal@20019 | 27 mkdir -p $fs/usr $install/usr/share/doc |
pascal@20019 | 28 cp -a $install/usr/bin $fs/usr |
pascal@20019 | 29 cp -a $src/README.md $install/usr/share/doc |
pascal@20019 | 30 } |