wok-stable annotate deluge/receipt @ rev 12255
Added tag 4.0 for changeset 7247d5bc52d2
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 10 16:21:07 2012 +0200 (2012-04-10) |
parents | 5d9a6e5f6f88 |
children |
rev | line source |
---|---|
slaxemulator@6953 | 1 # SliTaz package receipt. |
slaxemulator@6953 | 2 |
slaxemulator@6953 | 3 PACKAGE="deluge" |
slaxemulator@11093 | 4 VERSION="1.3.3" |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@6953 | 9 WEB_SITE="http://deluge-torrent.org/" |
slaxemulator@6953 | 10 WGET_URL="http://download.deluge-torrent.org/source/$TARBALL" |
slaxemulator@6953 | 11 |
slaxemulator@11093 | 12 DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg setuptools twisted xdg-utils pygtk" |
slaxemulator@11093 | 13 BUILD_DEPENDS="python-dev setuptools librsvg-dev intltool" |
slaxemulator@11093 | 14 |
slaxemulator@6953 | 15 # Rules to configure and make the package. |
slaxemulator@6953 | 16 compile_rules() |
slaxemulator@6953 | 17 { |
slaxemulator@6953 | 18 cd $src |
slaxemulator@7514 | 19 LC_ALL=C python setup.py build |
slaxemulator@9467 | 20 LC_ALL=C python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1 |
slaxemulator@6953 | 21 } |
slaxemulator@6953 | 22 |
slaxemulator@6953 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6953 | 24 genpkg_rules() |
slaxemulator@6953 | 25 { |
slaxemulator@6953 | 26 mkdir -p $fs/usr/share |
slaxemulator@6953 | 27 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@6953 | 28 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6953 | 29 cp -a $_pkg/usr/share/applications $fs/usr/share |
slaxemulator@6953 | 30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
slaxemulator@6953 | 31 sed -i 's|deluge.svg|deluge.png|g' $fs/usr/lib/python2.7/site-packages/deluge/ui/gtkui/common.py |
slaxemulator@6953 | 32 } |
slaxemulator@6953 | 33 |