blob: 4ecce3df78cf052c4d8919a420426062996ca167 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# 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
}
|