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

Added tinyproxy. A light-weight HTTP proxy daemon for POSIX operating systems.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 29 01:21:54 2010 +0000 (2010-10-29)
parents
children 604af2b5c3ad
line source
1 # SliTaz package receipt.
3 PACKAGE="deluge"
4 VERSION="1.3.0"
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 }