wok-next diff duplicity/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 92f1f4b98170
children 87f4581dde2c
line diff
     1.1 --- a/duplicity/receipt	Wed Aug 22 16:45:51 2018 +0300
     1.2 +++ b/duplicity/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,27 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="duplicity"
     1.8  VERSION="0.6.20"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Encrypted bandwidth-efficient backup using the rsync algorithm."
    1.11 +SHORT_DESC="Encrypted bandwidth-efficient backup using the rsync algorithm"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://duplicity.nongnu.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="https://code.launchpad.net/$PACKAGE/${VERSION%.*}-series/$VERSION/+download/$TARBALL"
    1.18  
    1.19 -DEPENDS="python librsync-dev gnupg python-paramiko cryptopp lftp"
    1.20 -BUILD_DEPENDS="python-dev $DEPENDS"
    1.21 +BUILD_DEPENDS="python-dev librsync-dev gnupg python-paramiko cryptopp lftp"
    1.22  # NcFTP boto librsync-dev
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	./setup.py install --root=$DESTDIR install
    1.28 +compile_rules() {
    1.29 +	python -B setup.py install --root=$install
    1.30  }
    1.31  
    1.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 -genpkg_rules()
    1.34 -{
    1.35 -	cp -a $install/* $fs
    1.36 +genpkg_rules() {
    1.37 +	copy @std
    1.38 +	DEPENDS="python librsync-dev gnupg python-paramiko cryptopp lftp"
    1.39  }