/[gentoo-x86]/net-p2p/qbittorrent/qbittorrent-1.0.0_beta2.ebuild
Gentoo

Contents of /net-p2p/qbittorrent/qbittorrent-1.0.0_beta2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Aug 1 21:44:56 2007 UTC (12 years, 3 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump, old
(Portage version: 2.1.3_rc9)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/qbittorrent-1.0.0_beta2.ebuild,v 1.1 2007/07/26 11:42:11 armin76 Exp $
4
5 inherit eutils qt4
6
7 MY_P="${P/_/}"
8
9 DESCRIPTION="BitTorrent client in C++ and Qt."
10 HOMEPAGE="http://www.qbittorrent.org/"
11 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
12 S="${WORKDIR}/${MY_P}"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE=""
18
19 DEPEND=">=net-libs/rb_libtorrent-0.13_pre1415
20 $(qt4_min_version 4.2)
21 >=dev-lang/python-2.3
22 dev-libs/boost
23 net-misc/curl
24 dev-cpp/commoncpp2"
25
26 pkg_setup() {
27 # We need boost built with threads
28 if ! has_version ">=dev-libs/boost-1.34_pre20061214" && \
29 ! built_with_use "dev-libs/boost" threads; then
30 eerror "${PN} needs dev-libs/boost built with threads USE flag"
31 die "dev-libs/boost is built without threads USE flag"
32 fi
33 }
34
35 src_compile() {
36 # econf fails, since this uses qconf
37 ./configure --prefix=/usr --qtdir=/usr \
38 --with-libtorrent-inc=/usr/include \
39 --with-libtorrent-lib=/usr/lib \
40 || die "configure failed"
41 emake || die "emake failed"
42 }
43
44 src_install() {
45 emake INSTALL_ROOT="${D}" install || die "emake install failed"
46 dodoc AUTHORS Changelog NEWS README TODO
47 }

  ViewVC Help
Powered by ViewVC 1.1.20