wok-next view qbittorrent/receipt @ rev 17408
Up wireshark (1.10.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 28 21:18:51 2014 +0100 (2014-11-28) |
parents | |
children | 43c177b957bc |
line source
1 # SliTaz package receipt.
3 PACKAGE="qbittorrent"
4 VERSION="3.1.9.2"
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="libQtCore libQtDBus libQtGui libQtNetwork libQtXml libboost-system \
15 libcrypto libssl libtorrent-rasterbar zlib"
16 BUILD_DEPENDS="Qt4-dev qmake libboost-dev libtorrent-rasterbar-dev openssl-dev \
17 geoip"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr &&
24 make &&
25 make INSTALL_ROOT=$install install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/icons/hicolor
33 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/applications $fs/usr/share
36 sdft $fs/usr/share/applications/qBittorrent.desktop -g -tf -i
37 sed -i '/^#/d' $fs/usr/share/applications/qBittorrent.desktop
39 for size in 16 24 32 48; do
40 cp -a $install/usr/share/icons/hicolor/${size}x$size \
41 $fs/usr/share/icons/hicolor
42 done
43 }