wok-next view deluge/receipt @ rev 11273
Up: webkit-r (99690)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Nov 10 01:41:25 2011 +0000 (2011-11-10) |
parents | 5d9a6e5f6f88 |
children | 7d6089953592 |
line source
1 # SliTaz package receipt.
3 PACKAGE="deluge"
4 VERSION="1.3.3"
5 CATEGORY="network"
6 SHORT_DESC="A bittorrent client written with python and pygtk"
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://deluge-torrent.org/"
10 WGET_URL="http://download.deluge-torrent.org/source/$TARBALL"
12 DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg setuptools twisted xdg-utils pygtk"
13 BUILD_DEPENDS="python-dev setuptools librsvg-dev intltool"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 LC_ALL=C python setup.py build
20 LC_ALL=C python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 cp -a $_pkg/usr/lib $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/applications $fs/usr/share
30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
31 sed -i 's|deluge.svg|deluge.png|g' $fs/usr/lib/python2.7/site-packages/deluge/ui/gtkui/common.py
32 }