wok view qbittorrent/receipt @ rev 21351

lxpanel: update DEPENDS
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Apr 21 03:46:57 2019 +0300 (2019-04-21)
parents 94f10bc17a2c
children f0393127d176
line source
1 # SliTaz package receipt.
3 PACKAGE="qbittorrent"
4 VERSION="3.1.9.2"
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"
12 GENERIC_PIXMAPS="no"; GENERIC_MENUS="no"
14 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtXml libboost-system \
15 libcrypto libssl libtorrent-rasterbar zlib"
16 BUILD_DEPENDS="Qt4-dev qmake libboost-dev libtorrent-rasterbar-dev openssl-dev \
17 geoip"
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 }