wok-current view deluge/receipt @ rev 21047
updated imlib2 and imlib2-dev (1.4.6 -> 1.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 12 16:40:34 2019 +0100 (2019-03-12) |
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 }