wok-next view qbittorrent/receipt @ rev 20909

Update homepages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Aug 13 00:47:17 2018 +0300 (2018-08-13)
parents e6615350078d
children a244e109372e
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"
12 GENERIC_PIXMAPS="no"; GENERIC_MENUS="no"
14 DEPENDS="qt5-base libboost-system openssl libtorrent-rasterbar zlib"
15 BUILD_DEPENDS="qt5-dev libboost-dev libtorrent-rasterbar-dev openssl-dev \
16 geoip xorg-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr &&
23 make &&
24 make INSTALL_ROOT=$install install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/icons/hicolor
32 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/applications $fs/usr/share
35 # sdft $fs/usr/share/applications/qBittorrent.desktop -g -tf -i
36 # sed -i '/^#/d' $fs/usr/share/applications/qBittorrent.desktop
38 for size in 16 24 32 48; do
39 cp -a $install/usr/share/icons/hicolor/${size}x$size \
40 $fs/usr/share/icons/hicolor
41 done
42 }