wok-6.x diff deluge/receipt @ rev 7020

Up: xorg-bigreqsproto to 1.1.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 31 14:01:19 2010 +0000 (2010-10-31)
parents
children 604af2b5c3ad
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/deluge/receipt	Sun Oct 31 14:01:19 2010 +0000
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="deluge"
     1.7 +VERSION="1.3.0"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="A bittorrent client written with python and pygtk"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg setuptools twisted xdg-utils pygtk"
    1.12 +BUILD_DEPENDS="python-dev setuptools librsvg-dev intltool"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://deluge-torrent.org/"
    1.15 +WGET_URL="http://download.deluge-torrent.org/source/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	python setup.py build
    1.22 +	python setup.py install --prefix=/usr --root=$PWD/_pkg --optimize=1
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/share
    1.29 +	cp -a $_pkg/usr/lib $fs/usr
    1.30 +	cp -a $_pkg/usr/bin $fs/usr
    1.31 +	cp -a $_pkg/usr/share/applications $fs/usr/share
    1.32 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.33 +	find $fs/usr -name "*.pyc" -delete
    1.34 +	find $fs/usr -name "*.pyo" -delete
    1.35 +	sed -i 's|deluge.svg|deluge.png|g' $fs/usr/lib/python2.7/site-packages/deluge/ui/gtkui/common.py
    1.36 +}
    1.37 +