wok-6.x view deluge/receipt @ rev 18050

Up openssh (6.8p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 15 09:55:50 2015 +0200 (2015-05-15)
parents 7d6089953592
children 16df76e1fc6a
line source
1 # SliTaz package receipt.
3 PACKAGE="deluge"
4 VERSION="1.3.6"
5 CATEGORY="network"
6 SHORT_DESC="A bittorrent client written with python and pygtk"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://deluge-torrent.org/"
11 WGET_URL="http://download.deluge-torrent.org/source/$TARBALL"
13 DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg setuptools twisted xdg-utils pygtk"
14 BUILD_DEPENDS="python-dev setuptools librsvg-dev intltool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 LC_ALL=C python setup.py build
21 LC_ALL=C python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $install/usr/lib $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/share/applications $fs/usr/share
31 cp -a $install/usr/share/pixmaps $fs/usr/share
32 sed -i 's|deluge.svg|deluge.png|g' $fs/usr/lib/python2.7/site-packages/deluge/ui/gtkui/common.py
33 }