wok-next view deluge/receipt @ rev 9858

removed old tazbb (will keep a copy in slitaz-dev-tools
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 16 15:38:06 2011 +0200 (2011-05-16)
parents 52a774bd4e5f
children ffd6915e48a3
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 LC_ALL=C python setup.py build
19 LC_ALL=C python setup.py install --prefix=/usr --root=$DESTDIR --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 sed -i 's|deluge.svg|deluge.png|g' $fs/usr/lib/python2.7/site-packages/deluge/ui/gtkui/common.py
31 }