wok view qbittorrent/receipt @ rev 25682

Up libqcow (20240308)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 24 18:25:46 2024 +0000 (2 months ago)
parents 64471e67874e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="qbittorrent"
4 VERSION="3.1.9.2"
5 CATEGORY="network"
6 SHORT_DESC="A BitTorrent client in Qt4."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/qbittorrent/qBittorrent"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtXml libboost-system \
15 libcrypto libssl libtorrent-rasterbar zlib"
16 BUILD_DEPENDS="gcc83 Qt4-dev qmake libboost-dev libtorrent-rasterbar-dev \
17 geoip openssl-dev"
18 GENERIC_PIXMAPS="no"; GENERIC_MENUS="no"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE/tags 2>/dev/null | \
24 sed '/rc[&-9]/d;/beta/d;/alpha/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 export CC=gcc-83
31 export CXX=g++-83
33 ./configure \
34 --prefix=/usr &&
35 make &&
36 make INSTALL_ROOT=$install install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/icons/hicolor
44 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share/applications $fs/usr/share
47 sdft $fs/usr/share/applications/qBittorrent.desktop -g -tf -i
48 sed -i '/^#/d' $fs/usr/share/applications/qBittorrent.desktop
50 for size in 16 24 32 48; do
51 cp -a $install/usr/share/icons/hicolor/${size}x$size \
52 $fs/usr/share/icons/hicolor
53 done
54 }