wok view deluge/receipt @ rev 8679

Merge + dahdi-linux now use udev ruleset
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Feb 17 01:13:41 2011 +0100 (2011-02-17)
parents 604af2b5c3ad
children 5d9a6e5f6f88
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=$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 }