wok rev 21795
compile zbackup with gcc83
author | Hans-G?nter Theisgen |
---|---|
date | Wed Aug 07 16:39:20 2019 +0100 (2019-08-07) |
parents | 0d2e41537ea0 |
children | fd39f6f33be1 |
files | zbackup/receipt |
line diff
1.1 --- a/zbackup/receipt Wed Aug 07 15:28:16 2019 +0100 1.2 +++ b/zbackup/receipt Wed Aug 07 16:39:20 2019 +0100 1.3 @@ -6,16 +6,19 @@ 1.4 SHORT_DESC="A versatile deduplicating backup tool." 1.5 MAINTAINER="pascal.bellard@slitaz.org" 1.6 LICENSE="GPL2 GPL3" 1.7 +WEB_SITE="http://zbackup.org/" 1.8 + 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 -WEB_SITE="http://zbackup.org/" 1.11 WGET_URL="https://github.com/zbackup/zbackup/archive/$VERSION.tar.gz" 1.12 1.13 -DEPENDS="libssl protobuf liblzma zlib" 1.14 -BUILD_DEPENDS="cmake openssl-dev protobuf-dev liblzma-dev lzo-dev zlib-dev" 1.15 +DEPENDS="gcc83-lib-base liblzma libssl protobuf zlib" 1.16 +BUILD_DEPENDS="cmake gcc83 liblzma-dev lzo-dev openssl-dev protobuf-dev zlib-dev" 1.17 1.18 # Rules to configure and make the package. 1.19 compile_rules() 1.20 { 1.21 + export CC=gcc-83 1.22 + export CXX=g++-83 1.23 cmake -DCMAKE_INSTALL_PREFIX=/usr . && 1.24 make && 1.25 make DESTDIR=$DESTDIR install 1.26 @@ -24,7 +27,9 @@ 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 + mkdir -p $fs/usr 1.34 + mkdir -p $install/usr/share/doc 1.35 + 1.36 + cp -a $install/usr/bin $fs/usr 1.37 + cp -a $src/README.md $install/usr/share/doc 1.38 }