wok-6.x view deluge/receipt @ rev 24978

Add memtest-efi32 & memtest-efi64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 07 11:09:47 2022 +0000 (2022-05-07)
parents 544e47246b33
children ea7c7014b421
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/${VERSION%.*}/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 # 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 }