# HG changeset patch # User Pascal Bellard # Date 1403950242 -7200 # Node ID 9d845308f2268f54af806af2f32374dbda53563b # Parent 9151b3acc104f1a8312bc024a631d5cd4bbb0ee8 Add bittorrent diff -r 9151b3acc104 -r 9d845308f226 bittorrent/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bittorrent/receipt Sat Jun 28 12:10:42 2014 +0200 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="bittorrent" +SOURCE="BitTorrent" +VERSION="5.2.2" +CATEGORY="network" +SHORT_DESC="A tool for distributing files. Each new downloader add new upload capacity." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="other" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.bittorrent.com/" +WGET_URL="http://distro.ibiblio.org/sourcemage/mirror/fallback/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="python twisted" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +}