Lines 2-9
Link Here
|
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.16.17.ebuild,v 1.1 2014/08/27 17:42:57 hwoarang Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.16.17.ebuild,v 1.1 2014/08/27 17:42:57 hwoarang Exp $ |
4 |
|
4 |
|
5 |
EAPI="4" |
5 |
EAPI=5 |
6 |
PYTHON_DEPEND="python? 2:2.6" |
6 |
PYTHON_DEPEND="python? 2" |
7 |
PYTHON_USE_WITH="threads" |
7 |
PYTHON_USE_WITH="threads" |
8 |
PYTHON_USE_WITH_OPT="python" |
8 |
PYTHON_USE_WITH_OPT="python" |
9 |
|
9 |
|
Lines 20-29
Link Here
|
20 |
LICENSE="BSD" |
20 |
LICENSE="BSD" |
21 |
SLOT="0" |
21 |
SLOT="0" |
22 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
22 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
23 |
IUSE="debug doc examples python ssl static-libs" |
23 |
IUSE="debug doc examples python ssl static-libs test" |
24 |
RESTRICT="test" |
|
|
25 |
|
24 |
|
26 |
DEPEND=">=dev-libs/boost-1.48[python?,threads(+)] |
25 |
DEPEND=">=dev-libs/boost-1.53[python?,threads] |
27 |
>=sys-devel/libtool-2.2 |
26 |
>=sys-devel/libtool-2.2 |
28 |
sys-libs/zlib |
27 |
sys-libs/zlib |
29 |
examples? ( !net-p2p/mldonkey ) |
28 |
examples? ( !net-p2p/mldonkey ) |
Lines 48-59
Link Here
|
48 |
myconf="--disable-silent-rules" |
47 |
myconf="--disable-silent-rules" |
49 |
|
48 |
|
50 |
# use multi-threading versions of boost libs |
49 |
# use multi-threading versions of boost libs |
51 |
if has_version '>=dev-libs/boost-1.52.0-r1'; then |
50 |
myconf+=" --with-boost-python=boost_python-${PYTHON_ABI}" |
52 |
myconf+=" --with-boost-python=boost_python-${PYTHON_ABI}" |
|
|
53 |
else |
54 |
myconf+=" --with-boost-system=boost_system-mt \ |
55 |
--with-boost-python=boost_python-${PYTHON_ABI}-mt" |
56 |
fi |
57 |
|
51 |
|
58 |
local LOGGING |
52 |
local LOGGING |
59 |
use debug && myconf+=" --enable-logging=verbose" |
53 |
use debug && myconf+=" --enable-logging=verbose" |