wok-current annotate zbackup/receipt @ rev 23807
eudev: include relocated udevadm
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sun May 24 12:23:14 2020 -0400 (2020-05-24) |
parents | a832eb25949c |
children | 5ea0ce1cecc0 |
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" |
Hans-G?nter@21795 | 9 WEB_SITE="http://zbackup.org/" |
Hans-G?nter@21795 | 10 |
pascal@20019 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20019 | 12 WGET_URL="https://github.com/zbackup/zbackup/archive/$VERSION.tar.gz" |
pascal@20019 | 13 |
Hans-G?nter@21795 | 14 DEPENDS="gcc83-lib-base liblzma libssl protobuf zlib" |
Hans-G?nter@21795 | 15 BUILD_DEPENDS="cmake gcc83 liblzma-dev lzo-dev openssl-dev protobuf-dev zlib-dev" |
pascal@20019 | 16 |
pascal@20019 | 17 # Rules to configure and make the package. |
pascal@20019 | 18 compile_rules() |
pascal@20019 | 19 { |
Hans-G?nter@21795 | 20 export CC=gcc-83 |
Hans-G?nter@21795 | 21 export CXX=g++-83 |
pascal@20019 | 22 cmake -DCMAKE_INSTALL_PREFIX=/usr . && |
pascal@20019 | 23 make && |
pascal@20019 | 24 make DESTDIR=$DESTDIR install |
pascal@20019 | 25 } |
pascal@20019 | 26 |
pascal@20019 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20019 | 28 genpkg_rules() |
pascal@20019 | 29 { |
Hans-G?nter@21795 | 30 mkdir -p $fs/usr |
Hans-G?nter@21795 | 31 mkdir -p $install/usr/share/doc |
Hans-G?nter@21795 | 32 |
Hans-G?nter@21795 | 33 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21795 | 34 cp -a $src/README.md $install/usr/share/doc |
pascal@20019 | 35 } |