wok annotate qbittorrent/receipt @ rev 19566
get-flash-plugin: busybox wget gets https
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Dec 20 01:18:30 2016 -0500 (2016-12-20) |
parents | |
children | 6135577f4d08 |
rev | line source |
---|---|
al@16926 | 1 # SliTaz package receipt. |
al@16926 | 2 |
al@16926 | 3 PACKAGE="qbittorrent" |
al@16926 | 4 VERSION="3.1.9.2" |
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 |
al@16926 | 14 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtXml libboost-system \ |
al@16926 | 15 libcrypto libssl libtorrent-rasterbar zlib" |
al@16926 | 16 BUILD_DEPENDS="Qt4-dev qmake libboost-dev libtorrent-rasterbar-dev openssl-dev \ |
al@16926 | 17 geoip" |
al@16926 | 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 |
al@16926 | 36 sdft $fs/usr/share/applications/qBittorrent.desktop -g -tf -i |
al@16926 | 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 } |