wok annotate qbittorrent/receipt @ rev 21912
updated sipsak (0.9.6-1 -> 0.9.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 04 16:51:20 2019 +0100 (2019-10-04) |
parents | 6135577f4d08 |
children | 4bae0fb81a17 |
rev | line source |
---|---|
al@16926 | 1 # SliTaz package receipt. |
al@16926 | 2 |
al@16926 | 3 PACKAGE="qbittorrent" |
al@16926 | 4 VERSION="3.1.9.2" |
al@16926 | 5 CATEGORY="network" |
Hans-G?nter@21577 | 6 SHORT_DESC="A BitTorrent client in Qt4." |
al@16926 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16926 | 8 LICENSE="GPL2" |
pascal@20679 | 9 WEB_SITE="https://www.qbittorrent.org/" |
Hans-G?nter@21577 | 10 |
al@16926 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@16926 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@16926 | 13 |
al@16926 | 14 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtXml libboost-system \ |
Hans-G?nter@21577 | 15 libcrypto libssl libtorrent-rasterbar zlib" |
Hans-G?nter@21577 | 16 BUILD_DEPENDS="gcc83 Qt4-dev qmake libboost-dev libtorrent-rasterbar-dev \ |
Hans-G?nter@21577 | 17 geoip openssl-dev" |
Hans-G?nter@21577 | 18 GENERIC_PIXMAPS="no"; GENERIC_MENUS="no" |
al@16926 | 19 |
al@16926 | 20 # Rules to configure and make the package. |
al@16926 | 21 compile_rules() |
al@16926 | 22 { |
Hans-G?nter@21577 | 23 export CC=gcc-83 |
Hans-G?nter@21577 | 24 export CXX=g++-83 |
Hans-G?nter@21577 | 25 |
al@16926 | 26 ./configure \ |
al@16926 | 27 --prefix=/usr && |
al@16926 | 28 make && |
al@16926 | 29 make INSTALL_ROOT=$install install |
al@16926 | 30 } |
al@16926 | 31 |
al@16926 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16926 | 33 genpkg_rules() |
al@16926 | 34 { |
al@16926 | 35 mkdir -p $fs/usr/share/icons/hicolor |
al@16926 | 36 |
al@16926 | 37 cp -a $install/usr/bin $fs/usr |
al@16926 | 38 |
al@16926 | 39 cp -a $install/usr/share/applications $fs/usr/share |
al@16926 | 40 sdft $fs/usr/share/applications/qBittorrent.desktop -g -tf -i |
al@16926 | 41 sed -i '/^#/d' $fs/usr/share/applications/qBittorrent.desktop |
al@16926 | 42 |
al@16926 | 43 for size in 16 24 32 48; do |
al@16926 | 44 cp -a $install/usr/share/icons/hicolor/${size}x$size \ |
al@16926 | 45 $fs/usr/share/icons/hicolor |
al@16926 | 46 done |
al@16926 | 47 } |