wok-current annotate deluge/receipt @ rev 21327

updated libupnp and libupnp-dev (1.6.17 -> 1.8.4)
author Hans-G?nter Theisgen
date Fri Apr 19 10:18:27 2019 +0100 (2019-04-19)
parents 699d96f4d881
children 240fb3120638
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
pascal@21104 14 DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg setuptools \
pascal@21104 15 twisted xdg-utils pygtk python-six"
slaxemulator@11093 16 BUILD_DEPENDS="python-dev setuptools librsvg-dev intltool"
slaxemulator@11093 17
slaxemulator@6953 18 # Rules to configure and make the package.
slaxemulator@6953 19 compile_rules()
slaxemulator@6953 20 {
slaxemulator@7514 21 LC_ALL=C python setup.py build
Hans-G?nter@20821 22 LC_ALL=C python setup.py install \
Hans-G?nter@20821 23 --prefix=/usr \
Hans-G?nter@20821 24 --root=$DESTDIR \
Hans-G?nter@20821 25 --optimize=1
slaxemulator@6953 26 }
slaxemulator@6953 27
slaxemulator@6953 28 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6953 29 genpkg_rules()
slaxemulator@6953 30 {
slaxemulator@6953 31 mkdir -p $fs/usr/share
pascal@14997 32 cp -a $install/usr/lib $fs/usr
pascal@14997 33 cp -a $install/usr/bin $fs/usr
pascal@14997 34 cp -a $install/usr/share/applications $fs/usr/share
pascal@14997 35 cp -a $install/usr/share/pixmaps $fs/usr/share
slaxemulator@6953 36 sed -i 's|deluge.svg|deluge.png|g' $fs/usr/lib/python2.7/site-packages/deluge/ui/gtkui/common.py
slaxemulator@6953 37 }