# Description: un client bitorrent en c++ comme alternative aux autres client. # URL:http://deluge-torrent.org/ # Maintainer: NuTyX core team # Packager: fanch # Depends on: pyxdg,setuptools,libtorrent-rasterbar,twisted,pyopenssl,xdg-utils,python-chardet name=deluge version=1.2.3 release=1 source=(http://download.deluge-torrent.org/source/$name-$version.tar.bz2 deluged deluged.conf.d deluge-web fix_freeze.patch) build() { cd $SRC/$name-$version patch -Np1 -i $SRC/fix_freeze.patch python setup.py build python setup.py install --prefix=/usr --root=$PKG --optimize=1 install -d -m755 $PKG/srv/deluge install -D -m644 deluge/data/pixmaps/deluge.svg $PKG/usr/share/pixmaps/deluge.svg install -D -m755 $SRC/deluged $PKG/etc/rc.d/deluged install -D -m755 $SRC/deluge-web $PKG/etc/rc.d/deluge-web install -D -m644 $SRC/deluged.conf.d $PKG/etc/conf.d/deluged }