wok-next diff bittorrent/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 a3254b6a96ac
children
line diff
     1.1 --- a/bittorrent/receipt	Tue Sep 25 17:35:51 2018 +0300
     1.2 +++ b/bittorrent/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="bittorrent"
     1.8 -SOURCE="BitTorrent"
     1.9  VERSION="5.2.2"
    1.10  CATEGORY="network"
    1.11 -SHORT_DESC="A tool for distributing files. Each new downloader add new upload capacity."
    1.12 +SHORT_DESC="A tool for distributing files. Each new downloader add new upload capacity"
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="other"
    1.15 +WEB_SITE="https://www.bittorrent.com/"
    1.16 +
    1.17 +SOURCE="BitTorrent"
    1.18  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.19 -WEB_SITE="https://www.bittorrent.com/"
    1.20  WGET_URL="http://distro.ibiblio.org/sourcemage/mirror/fallback/$TARBALL"
    1.21  
    1.22 -DEPENDS="python"
    1.23  BUILD_DEPENDS="python python-twisted"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	python setup.py install --root=$DESTDIR
    1.29 +compile_rules() {
    1.30 +	python -B setup.py install --root=$install
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 +genpkg_rules() {
    1.37  	cp -a $install/* $fs
    1.38 +	DEPENDS="python"
    1.39  }