wok-6.x diff qbittorrent/receipt @ rev 17672

Add missing -ltinfo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 17 12:55:08 2015 +0100 (2015-02-17)
parents
children 6135577f4d08
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qbittorrent/receipt	Tue Feb 17 12:55:08 2015 +0100
     1.3 @@ -0,0 +1,43 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="qbittorrent"
     1.7 +VERSION="3.1.9.2"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="qBittorrent - A BitTorrent client in Qt4"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://www.qbittorrent.org/"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 +GENERIC_PIXMAPS="no"; GENERIC_MENUS="no"
    1.16 +
    1.17 +DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtXml libboost-system \
    1.18 +libcrypto libssl libtorrent-rasterbar zlib"
    1.19 +BUILD_DEPENDS="Qt4-dev qmake libboost-dev libtorrent-rasterbar-dev openssl-dev \
    1.20 +geoip"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	./configure \
    1.26 +		--prefix=/usr &&
    1.27 +	make &&
    1.28 +	make INSTALL_ROOT=$install install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/usr/share/icons/hicolor
    1.35 +
    1.36 +	cp -a $install/usr/bin $fs/usr
    1.37 +
    1.38 +	cp -a $install/usr/share/applications $fs/usr/share
    1.39 +	sdft $fs/usr/share/applications/qBittorrent.desktop -g -tf -i
    1.40 +	sed -i '/^#/d' $fs/usr/share/applications/qBittorrent.desktop
    1.41 +
    1.42 +	for size in 16 24 32 48; do
    1.43 +		cp -a $install/usr/share/icons/hicolor/${size}x$size \
    1.44 +			$fs/usr/share/icons/hicolor
    1.45 +	done
    1.46 +}