wok-next annotate qbittorrent/receipt @ rev 20052

claws-mail: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 23 17:09:27 2017 +0200 (2017-10-23)
parents 43c177b957bc
children e6615350078d
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@16926 9 WEB_SITE="http://www.qbittorrent.org/"
al@16926 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@16926 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@16926 12 GENERIC_PIXMAPS="no"; GENERIC_MENUS="no"
al@16926 13
psychomaniak@19999 14 DEPENDS="qt5-base libboost-system libcrypto libssl libtorrent-rasterbar zlib"
psychomaniak@19999 15 BUILD_DEPENDS="qt5-dev libboost-dev libtorrent-rasterbar-dev openssl-dev \
psychomaniak@19999 16 geoip xorg-dev zlib-dev"
al@16926 17
al@16926 18 # Rules to configure and make the package.
al@16926 19 compile_rules()
al@16926 20 {
al@16926 21 ./configure \
al@16926 22 --prefix=/usr &&
al@16926 23 make &&
al@16926 24 make INSTALL_ROOT=$install install
al@16926 25 }
al@16926 26
al@16926 27 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16926 28 genpkg_rules()
al@16926 29 {
al@16926 30 mkdir -p $fs/usr/share/icons/hicolor
al@16926 31
al@16926 32 cp -a $install/usr/bin $fs/usr
al@16926 33
al@16926 34 cp -a $install/usr/share/applications $fs/usr/share
psychomaniak@20000 35 # sdft $fs/usr/share/applications/qBittorrent.desktop -g -tf -i
psychomaniak@20000 36 # sed -i '/^#/d' $fs/usr/share/applications/qBittorrent.desktop
al@16926 37
al@16926 38 for size in 16 24 32 48; do
al@16926 39 cp -a $install/usr/share/icons/hicolor/${size}x$size \
al@16926 40 $fs/usr/share/icons/hicolor
al@16926 41 done
al@16926 42 }