wok view deluge/receipt @ rev 25171

updated python-docutils (0.16 -> 0.18.1)
author Hans-G?nter Theisgen
date Fri Jul 01 16:17:26 2022 +0100 (2022-07-01)
parents 00e3b45c063b
children
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="https://ftp.osuosl.org/pub/deluge/source/${VERSION%.*}/$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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/deluge-torrent/deluge/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 LC_ALL=C python setup.py build
29 LC_ALL=C python setup.py install \
30 --prefix=/usr \
31 --root=$DESTDIR \
32 --optimize=1
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/applications $fs/usr/share
42 cp -a $install/usr/share/pixmaps $fs/usr/share
43 sed -i 's|deluge.svg|deluge.png|g' $fs/usr/lib/python2.7/site-packages/deluge/ui/gtkui/common.py
44 }