wok-current annotate deluge/receipt @ rev 16244
adminer: fix php name
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 03 09:13:34 2014 +0000 (2014-04-03) |
parents | 7d6089953592 |
children | 16df76e1fc6a |
rev | line source |
---|---|
slaxemulator@6953 | 1 # SliTaz package receipt. |
slaxemulator@6953 | 2 |
slaxemulator@6953 | 3 PACKAGE="deluge" |
devl547@16227 | 4 VERSION="1.3.6" |
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" |
pascal@14997 | 8 LICENSE="GPL3" |
slaxemulator@6953 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@6953 | 10 WEB_SITE="http://deluge-torrent.org/" |
slaxemulator@6953 | 11 WGET_URL="http://download.deluge-torrent.org/source/$TARBALL" |
slaxemulator@6953 | 12 |
slaxemulator@11093 | 13 DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg setuptools twisted xdg-utils pygtk" |
slaxemulator@11093 | 14 BUILD_DEPENDS="python-dev setuptools librsvg-dev intltool" |
slaxemulator@11093 | 15 |
slaxemulator@6953 | 16 # Rules to configure and make the package. |
slaxemulator@6953 | 17 compile_rules() |
slaxemulator@6953 | 18 { |
slaxemulator@6953 | 19 cd $src |
slaxemulator@7514 | 20 LC_ALL=C python setup.py build |
slaxemulator@9467 | 21 LC_ALL=C python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1 |
slaxemulator@6953 | 22 } |
slaxemulator@6953 | 23 |
slaxemulator@6953 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6953 | 25 genpkg_rules() |
slaxemulator@6953 | 26 { |
slaxemulator@6953 | 27 mkdir -p $fs/usr/share |
pascal@14997 | 28 cp -a $install/usr/lib $fs/usr |
pascal@14997 | 29 cp -a $install/usr/bin $fs/usr |
pascal@14997 | 30 cp -a $install/usr/share/applications $fs/usr/share |
pascal@14997 | 31 cp -a $install/usr/share/pixmaps $fs/usr/share |
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 |