wok view deluge/receipt @ rev 7482

modify .desktop of 3 file
author fireflyoo <lufeng369@gmail.com>
date Fri Dec 03 00:24:35 2010 +0800 (2010-12-03)
parents 4f4abd9f6008
children 52a774bd4e5f
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 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 }