/[gentoo-x86]/net-libs/libtorrent/libtorrent-0.12.9.ebuild
Gentoo

Contents of /net-libs/libtorrent/libtorrent-0.12.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sat May 5 02:54:28 2012 UTC (2 years, 4 months ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/libtorrent-0.12.9.ebuild,v 1.8 2012/03/10 16:30:50 ranger Exp $
4
5 EAPI=4
6 inherit autotools-utils libtool
7
8 DESCRIPTION="BitTorrent library written in C++ for *nix"
9 HOMEPAGE="http://libtorrent.rakshasa.no/"
10 SRC_URI="http://libtorrent.rakshasa.no/downloads/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd"
15 IUSE="debug ipv6 ssl test"
16
17 RDEPEND=">=dev-libs/libsigc++-2.2.2:2
18 ssl? ( dev-libs/openssl )"
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig
21 test? ( dev-util/cppunit )"
22
23 # http://libtorrent.rakshasa.no/ticket/2617
24 RESTRICT=test
25
26 DOCS=( AUTHORS NEWS README )
27
28 src_prepare() {
29 local PATCHES=(
30 "${FILESDIR}"/${PN}-0.12.6-gcc44.patch
31 "${FILESDIR}"/${PN}-0.12.7-test.patch
32 "${FILESDIR}"/download_constructor.diff
33 )
34 autotools-utils_src_prepare
35 elibtoolize
36 }
37
38 src_configure() {
39 local myeconfargs=(
40 --enable-aligned
41 --with-posix-fallocate # configure will check for availability
42 $(use_enable debug)
43 $(use_enable ipv6)
44 $(use_enable ssl openssl)
45 )
46
47 autotools-utils_src_configure
48 }

  ViewVC Help
Powered by ViewVC 1.1.20