wok-next annotate qbittorrent/receipt @ rev 16926
Add qbittorrent.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 18 03:37:45 2014 +0300 (2014-07-18) |
parents | |
children | 43c177b957bc |
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 } |