wok-stable annotate deluge/receipt @ rev 6953
Added deluge. A bittorent client written with python and pygtk.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 25 22:08:04 2010 +0000 (2010-10-25) |
parents | |
children | 604af2b5c3ad |
rev | line source |
---|---|
slaxemulator@6953 | 1 # SliTaz package receipt. |
slaxemulator@6953 | 2 |
slaxemulator@6953 | 3 PACKAGE="deluge" |
slaxemulator@6953 | 4 VERSION="1.3.0" |
slaxemulator@6953 | 5 CATEGORY="network" |
slaxemulator@6953 | 6 SHORT_DESC="A bittorrent client written with python and pygtk" |
slaxemulator@6953 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@6953 | 8 DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg setuptools twisted xdg-utils pygtk" |
slaxemulator@6953 | 9 BUILD_DEPENDS="python-dev setuptools librsvg-dev intltool" |
slaxemulator@6953 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@6953 | 11 WEB_SITE="http://deluge-torrent.org/" |
slaxemulator@6953 | 12 WGET_URL="http://download.deluge-torrent.org/source/$TARBALL" |
slaxemulator@6953 | 13 |
slaxemulator@6953 | 14 # Rules to configure and make the package. |
slaxemulator@6953 | 15 compile_rules() |
slaxemulator@6953 | 16 { |
slaxemulator@6953 | 17 cd $src |
slaxemulator@6953 | 18 python setup.py build |
slaxemulator@6953 | 19 python setup.py install --prefix=/usr --root=$PWD/_pkg --optimize=1 |
slaxemulator@6953 | 20 } |
slaxemulator@6953 | 21 |
slaxemulator@6953 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6953 | 23 genpkg_rules() |
slaxemulator@6953 | 24 { |
slaxemulator@6953 | 25 mkdir -p $fs/usr/share |
slaxemulator@6953 | 26 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@6953 | 27 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6953 | 28 cp -a $_pkg/usr/share/applications $fs/usr/share |
slaxemulator@6953 | 29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
slaxemulator@6953 | 30 find $fs/usr -name "*.pyc" -delete |
slaxemulator@6953 | 31 find $fs/usr -name "*.pyo" -delete |
slaxemulator@6953 | 32 sed -i 's|deluge.svg|deluge.png|g' $fs/usr/lib/python2.7/site-packages/deluge/ui/gtkui/common.py |
slaxemulator@6953 | 33 } |
slaxemulator@6953 | 34 |