# HG changeset patch # User Christopher Rogers # Date 1288044484 0 # Node ID 4f4abd9f60081c64773c11c5cf4ff82f15be008a # Parent 886906f08eada21575d9e74b416bce0ff3a6099e Added deluge. A bittorent client written with python and pygtk. diff -r 886906f08ead -r 4f4abd9f6008 deluge/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deluge/receipt Mon Oct 25 22:08:04 2010 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="deluge" +VERSION="1.3.0" +CATEGORY="network" +SHORT_DESC="A bittorrent client written with python and pygtk" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg setuptools twisted xdg-utils pygtk" +BUILD_DEPENDS="python-dev setuptools librsvg-dev intltool" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://deluge-torrent.org/" +WGET_URL="http://download.deluge-torrent.org/source/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build + python setup.py install --prefix=/usr --root=$PWD/_pkg --optimize=1 +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/lib $fs/usr + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/applications $fs/usr/share + cp -a $_pkg/usr/share/pixmaps $fs/usr/share + find $fs/usr -name "*.pyc" -delete + find $fs/usr -name "*.pyo" -delete + sed -i 's|deluge.svg|deluge.png|g' $fs/usr/lib/python2.7/site-packages/deluge/ui/gtkui/common.py +} +