Lines 1-6
Link Here
|
1 |
# Copyright 1999-2010 Gentoo Foundation |
1 |
# Copyright 1999-2010 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.10.ebuild,v 1.1 2010/04/10 15:29:18 yngwin Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI="2" |
5 |
EAPI="2" |
6 |
inherit autotools eutils flag-o-matic versionator |
6 |
inherit autotools eutils flag-o-matic versionator |
Lines 16-22
Link Here
|
16 |
LICENSE="BSD" |
16 |
LICENSE="BSD" |
17 |
SLOT="0" |
17 |
SLOT="0" |
18 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd" |
18 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd" |
19 |
IUSE="debug doc examples python test" |
19 |
IUSE="debug doc examples python test static-libs" |
20 |
RESTRICT="test" |
20 |
RESTRICT="test" |
21 |
|
21 |
|
22 |
DEPEND="|| ( >=dev-libs/boost-1.35 |
22 |
DEPEND="|| ( >=dev-libs/boost-1.35 |
Lines 60-65
Link Here
|
60 |
$(use_enable test tests) \ |
60 |
$(use_enable test tests) \ |
61 |
$(use_enable examples) \ |
61 |
$(use_enable examples) \ |
62 |
$(use_enable python python-binding) \ |
62 |
$(use_enable python python-binding) \ |
|
|
63 |
$(use_enable static-libs static) \ |
63 |
--with-zlib=system \ |
64 |
--with-zlib=system \ |
64 |
--with-asio=system \ |
65 |
--with-asio=system \ |
65 |
${LOGGING} \ |
66 |
${LOGGING} \ |
Lines 74-77
Link Here
|
74 |
if use doc ; then |
75 |
if use doc ; then |
75 |
dohtml docs/* || die "Could not install HTML documentation" |
76 |
dohtml docs/* || die "Could not install HTML documentation" |
76 |
fi |
77 |
fi |
|
|
78 |
|
79 |
# remove useless .a/.la files (only for non static compilation) |
80 |
use static-libs || \ |
81 |
find "${D}" \( -name '*.a' -or -name '*.la' \) -delete |
77 |
} |
82 |
} |