wok-current view deluge/receipt @ rev 20845
updated directfb again (1.4.3 -> 1.7.7)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 21 14:01:03 2019 +0100 (2019-02-21) |
parents | a78610b2eb47 |
children | 92f3f0b09500 |
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 twisted xdg-utils pygtk"
15 BUILD_DEPENDS="python-dev setuptools librsvg-dev intltool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 LC_ALL=C python setup.py build
21 LC_ALL=C python setup.py install \
22 --prefix=/usr \
23 --root=$DESTDIR \
24 --optimize=1
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $install/usr/lib $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/applications $fs/usr/share
34 cp -a $install/usr/share/pixmaps $fs/usr/share
35 sed -i 's|deluge.svg|deluge.png|g' $fs/usr/lib/python2.7/site-packages/deluge/ui/gtkui/common.py
36 }