wok view qbittorrent/receipt @ rev 20399

Add code2 (speech codec 0.7-3.2 Kb/s)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 27 16:09:41 2018 +0200 (2018-06-27)
parents
children 6135577f4d08
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="http://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 }