wok-current view deluge/receipt @ rev 7196

Fix: ruby-gtk2: include Glade support for compatibility with Glade-created UIs. While still GTK-related, this is available only from the Ruby-GNOME source package, with no other implications.
author Ben Arnold <ben@seawolfsanctuary.com>
date Tue Nov 09 09:57:16 2010 +0000 (2010-11-09)
parents 4f4abd9f6008
children 52a774bd4e5f
line source
1 # SliTaz package receipt.
3 PACKAGE="deluge"
4 VERSION="1.3.1"
5 CATEGORY="network"
6 SHORT_DESC="A bittorrent client written with python and pygtk"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg setuptools twisted xdg-utils pygtk"
9 BUILD_DEPENDS="python-dev setuptools librsvg-dev intltool"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://deluge-torrent.org/"
12 WGET_URL="http://download.deluge-torrent.org/source/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py build
19 python setup.py install --prefix=/usr --root=$PWD/_pkg --optimize=1
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share
26 cp -a $_pkg/usr/lib $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/share/applications $fs/usr/share
29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
30 find $fs/usr -name "*.pyc" -delete
31 find $fs/usr -name "*.pyo" -delete
32 sed -i 's|deluge.svg|deluge.png|g' $fs/usr/lib/python2.7/site-packages/deluge/ui/gtkui/common.py
33 }