summaryrefslogtreecommitdiffstats
path: root/extra/deluge/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/deluge/Pkgfile')
-rw-r--r--extra/deluge/Pkgfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/deluge/Pkgfile b/extra/deluge/Pkgfile
new file mode 100644
index 000000000..4ecce3df7
--- /dev/null
+++ b/extra/deluge/Pkgfile
@@ -0,0 +1,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
+}