wok-6.x view deluge/receipt @ rev 21404
Up hiawatha (10.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 23 11:00:59 2019 +0200 (2019-04-23) |
parents | 699d96f4d881 |
children | 240fb3120638 |
line source
1 # SliTaz package receipt.
3 PACKAGE="deluge"
4 VERSION="1.3.15"
5 CATEGORY="network"
6 SHORT_DESC="A bittorrent client written with python and pygtk"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://deluge-torrent.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.deluge-torrent.org/source/$TARBALL"
14 DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg setuptools \
15 twisted xdg-utils pygtk python-six"
16 BUILD_DEPENDS="python-dev setuptools librsvg-dev intltool"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 LC_ALL=C python setup.py build
22 LC_ALL=C python setup.py install \
23 --prefix=/usr \
24 --root=$DESTDIR \
25 --optimize=1
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $install/usr/lib $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/applications $fs/usr/share
35 cp -a $install/usr/share/pixmaps $fs/usr/share
36 sed -i 's|deluge.svg|deluge.png|g' $fs/usr/lib/python2.7/site-packages/deluge/ui/gtkui/common.py
37 }