wok-next annotate qbittorrent/receipt @ rev 20943

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 30 10:49:57 2018 +0300 (2018-08-30)
parents a244e109372e
children d5aab818505e
rev   line source
al@16926 1 # SliTaz package receipt.
al@16926 2
al@16926 3 PACKAGE="qbittorrent"
psychomaniak@19999 4 VERSION="3.3.16"
al@16926 5 CATEGORY="network"
al@16926 6 SHORT_DESC="qBittorrent - A BitTorrent client in Qt4"
al@16926 7 MAINTAINER="al.bobylev@gmail.com"
al@16926 8 LICENSE="GPL2"
al@20909 9 WEB_SITE="https://www.qbittorrent.org/"
al@16926 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@16926 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@16926 12
al@20915 13 DEPENDS="qt5-base boost-system openssl libtorrent-rasterbar zlib"
al@20915 14 BUILD_DEPENDS="qt5-dev boost-dev libtorrent-rasterbar-dev openssl-dev \
psychomaniak@19999 15 geoip xorg-dev zlib-dev"
al@16926 16
al@20943 17 COOKOPTS="!pixmaps !menus"
al@20943 18
al@16926 19 # Rules to configure and make the package.
al@16926 20 compile_rules()
al@16926 21 {
al@16926 22 ./configure \
al@16926 23 --prefix=/usr &&
al@16926 24 make &&
al@16926 25 make INSTALL_ROOT=$install install
al@16926 26 }
al@16926 27
al@16926 28 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16926 29 genpkg_rules()
al@16926 30 {
al@16926 31 mkdir -p $fs/usr/share/icons/hicolor
al@16926 32
al@16926 33 cp -a $install/usr/bin $fs/usr
al@16926 34
al@16926 35 cp -a $install/usr/share/applications $fs/usr/share
psychomaniak@20000 36 # sdft $fs/usr/share/applications/qBittorrent.desktop -g -tf -i
psychomaniak@20000 37 # sed -i '/^#/d' $fs/usr/share/applications/qBittorrent.desktop
al@16926 38
al@16926 39 for size in 16 24 32 48; do
al@16926 40 cp -a $install/usr/share/icons/hicolor/${size}x$size \
al@16926 41 $fs/usr/share/icons/hicolor
al@16926 42 done
al@16926 43 }