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

Contents of /net-p2p/qbittorrent/qbittorrent-1.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Aug 15 23:21:49 2009 UTC (10 years, 3 months ago) by yngwin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old. Version bump. Patch applied upstream. Add zziplib dependency.
(Portage version: 2.2_rc38/cvs/Linux x86_64)

1 # Copyright 1999-2009 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.2.1.ebuild,v 1.2 2009/03/07 16:13:27 betelgeuse Exp $
4
5 EAPI="1"
6
7 inherit eutils qt4 multilib
8
9 MY_P="${P/_/}"
10
11 DESCRIPTION="BitTorrent client in C++ and Qt."
12 HOMEPAGE="http://www.qbittorrent.org/"
13 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
14 S="${WORKDIR}/${MY_P}"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86"
19 IUSE=""
20
21 # boost version so that we always have threads support
22 DEPEND="|| ( x11-libs/qt-gui:4 =x11-libs/qt-4.3*:4 )
23 >=net-libs/rb_libtorrent-0.13.1
24 >=dev-libs/boost-1.34.1
25 net-misc/curl
26 dev-cpp/commoncpp2"
27 RDEPEND="${DEPEND}
28 >=dev-lang/python-2.3"
29
30 src_unpack() {
31 unpack ${A}
32 cd "${S}"
33
34 # Respect LDFLAGS
35 sed -i -e 's/-Wl,--as-needed/$(LDFLAGS)/g' src/src.pro
36 }
37
38 src_compile() {
39 # econf fails, since this uses qconf
40 ./configure --prefix=/usr --qtdir=/usr \
41 --with-libtorrent-inc=/usr/include \
42 --with-libtorrent-lib=/usr/$(get_libdir) \
43 || die "configure failed"
44 emake || die "emake failed"
45 }
46
47 src_install() {
48 emake INSTALL_ROOT="${D}" install || die "emake install failed"
49 dodoc AUTHORS Changelog NEWS README TODO
50 }

  ViewVC Help
Powered by ViewVC 1.1.20