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