Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
WANT_AUTOMAKE="1.10" |
5 |
WANT_AUTOMAKE="1.10" |
6 |
|
6 |
|
7 |
inherit eutils autotools |
7 |
inherit eutils autotools versionator |
8 |
|
8 |
|
9 |
MY_P="${P}-2" |
9 |
MY_P="${P}-2" |
10 |
|
10 |
|
Lines 19-25
Link Here
|
19 |
DEPEND=">=dev-libs/openssl-0.9.7 |
19 |
DEPEND=">=dev-libs/openssl-0.9.7 |
20 |
>=sys-fs/fuse-2.6 |
20 |
>=sys-fs/fuse-2.6 |
21 |
>=dev-libs/rlog-1.3.6 |
21 |
>=dev-libs/rlog-1.3.6 |
22 |
>=dev-libs/boost-1.34 |
22 |
( >=dev-libs/boost-1.34 <dev-libs/boost-1.42 ) |
23 |
nls? ( >=sys-devel/gettext-0.14.1 )" |
23 |
nls? ( >=sys-devel/gettext-0.14.1 )" |
24 |
|
24 |
|
25 |
src_unpack() { |
25 |
src_unpack() { |
Lines 32-38
Link Here
|
32 |
} |
32 |
} |
33 |
|
33 |
|
34 |
src_compile() { |
34 |
src_compile() { |
35 |
econf `use_enable nls` || die |
35 |
BOOST_PKG="$(best_version "<dev-libs/boost-1.42")" |
|
|
36 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
37 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
38 |
BOOST_INC="/usr/include/boost-${BOOST_VER}" |
39 |
BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}" |
40 |
ewarn "Building with ${BOOST_PKG} support." |
41 |
|
42 |
econf `use_enable nls` \ |
43 |
--with-boost=${BOOST_INC} \ |
44 |
--with-boost-libdir=${BOOST_LIB} |
45 |
|
36 |
emake || die |
46 |
emake || die |
37 |
} |
47 |
} |
38 |
|
48 |
|