wok-4.x rev 6953
Added deluge. A bittorent client written with python and pygtk.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 25 22:08:04 2010 +0000 (2010-10-25) |
parents | 886906f08ead |
children | d71ea69c5c85 |
files | deluge/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/deluge/receipt Mon Oct 25 22:08:04 2010 +0000 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="deluge" 1.7 +VERSION="1.3.0" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="A bittorrent client written with python and pygtk" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg setuptools twisted xdg-utils pygtk" 1.12 +BUILD_DEPENDS="python-dev setuptools librsvg-dev intltool" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://deluge-torrent.org/" 1.15 +WGET_URL="http://download.deluge-torrent.org/source/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + python setup.py build 1.22 + python setup.py install --prefix=/usr --root=$PWD/_pkg --optimize=1 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/share 1.29 + cp -a $_pkg/usr/lib $fs/usr 1.30 + cp -a $_pkg/usr/bin $fs/usr 1.31 + cp -a $_pkg/usr/share/applications $fs/usr/share 1.32 + cp -a $_pkg/usr/share/pixmaps $fs/usr/share 1.33 + find $fs/usr -name "*.pyc" -delete 1.34 + find $fs/usr -name "*.pyo" -delete 1.35 + sed -i 's|deluge.svg|deluge.png|g' $fs/usr/lib/python2.7/site-packages/deluge/ui/gtkui/common.py 1.36 +} 1.37 +