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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sat Nov 3 15:00:27 2007 UTC (12 years, 1 month ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump
(Portage version: 2.1.3.16)

1 armin76 1.1 # Copyright 1999-2007 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 armin76 1.3 # $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/qbittorrent-1.0.0_rc6.ebuild,v 1.2 2007/11/02 15:50:53 armin76 Exp $
4 armin76 1.1
5     inherit eutils qt4 multilib
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 armin76 1.2 DEPEND=">=net-libs/rb_libtorrent-0.13_pre1719
20 armin76 1.1 $(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/$(get_libdir) \
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