wok-current view deluge/receipt @ rev 23667
updated squirrelmail-multilogin (2.4-1.2.9 -> 2.4.2-1.2.9)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 26 06:53:18 2020 +0100 (2020-04-26) |
parents | 240fb3120638 |
children | 544e47246b33 |
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 \
15 twisted xdg-utils pygtk python-six"
16 BUILD_DEPENDS="python-dev python-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 }