wok-next view qbittorrent/receipt @ rev 20943

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 30 10:49:57 2018 +0300 (2018-08-30)
parents a244e109372e
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="qbittorrent"
4 VERSION="3.3.16"
5 CATEGORY="network"
6 SHORT_DESC="qBittorrent - A BitTorrent client in Qt4"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.qbittorrent.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="qt5-base boost-system openssl libtorrent-rasterbar zlib"
14 BUILD_DEPENDS="qt5-dev boost-dev libtorrent-rasterbar-dev openssl-dev \
15 geoip xorg-dev zlib-dev"
17 COOKOPTS="!pixmaps !menus"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr &&
24 make &&
25 make INSTALL_ROOT=$install install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/icons/hicolor
33 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/applications $fs/usr/share
36 # sdft $fs/usr/share/applications/qBittorrent.desktop -g -tf -i
37 # sed -i '/^#/d' $fs/usr/share/applications/qBittorrent.desktop
39 for size in 16 24 32 48; do
40 cp -a $install/usr/share/icons/hicolor/${size}x$size \
41 $fs/usr/share/icons/hicolor
42 done
43 }