wok-next view qbittorrent/receipt @ rev 20617
Fix build xchat, xchat-plugin, xget, xine-plugin; xorg-xf86-video-geode isn't compatible with 64-bit arch
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 21 13:54:55 2018 +0300 (2018-04-21) |
parents | f31065ec4855 |
children | 7506b35e1c6f |
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="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="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 }