wok-6.x annotate deluge/receipt @ rev 20913

updated fbff (20150331 -> 20170211)
author Hans-G?nter Theisgen
date Thu Feb 28 15:00:54 2019 +0100 (2019-02-28)
parents a78610b2eb47
children 92f3f0b09500
rev   line source
slaxemulator@6953 1 # SliTaz package receipt.
slaxemulator@6953 2
slaxemulator@6953 3 PACKAGE="deluge"
Hans-G?nter@20821 4 VERSION="1.3.15"
slaxemulator@6953 5 CATEGORY="network"
slaxemulator@6953 6 SHORT_DESC="A bittorrent client written with python and pygtk"
slaxemulator@6953 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14997 8 LICENSE="GPL3"
Hans-G?nter@20821 9 WEB_SITE="https://deluge-torrent.org/"
Hans-G?nter@20821 10
slaxemulator@6953 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@6953 12 WGET_URL="http://download.deluge-torrent.org/source/$TARBALL"
slaxemulator@6953 13
slaxemulator@11093 14 DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg setuptools twisted xdg-utils pygtk"
slaxemulator@11093 15 BUILD_DEPENDS="python-dev setuptools librsvg-dev intltool"
slaxemulator@11093 16
slaxemulator@6953 17 # Rules to configure and make the package.
slaxemulator@6953 18 compile_rules()
slaxemulator@6953 19 {
slaxemulator@7514 20 LC_ALL=C python setup.py build
Hans-G?nter@20821 21 LC_ALL=C python setup.py install \
Hans-G?nter@20821 22 --prefix=/usr \
Hans-G?nter@20821 23 --root=$DESTDIR \
Hans-G?nter@20821 24 --optimize=1
slaxemulator@6953 25 }
slaxemulator@6953 26
slaxemulator@6953 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6953 28 genpkg_rules()
slaxemulator@6953 29 {
slaxemulator@6953 30 mkdir -p $fs/usr/share
pascal@14997 31 cp -a $install/usr/lib $fs/usr
pascal@14997 32 cp -a $install/usr/bin $fs/usr
pascal@14997 33 cp -a $install/usr/share/applications $fs/usr/share
pascal@14997 34 cp -a $install/usr/share/pixmaps $fs/usr/share
slaxemulator@6953 35 sed -i 's|deluge.svg|deluge.png|g' $fs/usr/lib/python2.7/site-packages/deluge/ui/gtkui/common.py
slaxemulator@6953 36 }