wok annotate deluge/receipt @ rev 21996
linux: add ath10k wireless driver
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed Oct 16 21:56:55 2019 -0400 (2019-10-16) |
parents | 240fb3120638 |
children | 544e47246b33 |
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@21581 | 14 DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg \ |
pascal@21104 | 15 twisted xdg-utils pygtk python-six" |
pascal@21580 | 16 BUILD_DEPENDS="python-dev python-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 } |