--- icu-51.2.ebuild.orig 2013-07-24 22:31:09 +0900 +++ icu-51.2.ebuild 2013-10-21 23:07:46 +0900 @@ -4,7 +4,7 @@ EAPI=5 -inherit eutils toolchain-funcs base autotools +inherit eutils toolchain-funcs base autotools multilib-minimal DESCRIPTION="International Components for Unicode" HOMEPAGE="http://www.icu-project.org/" @@ -55,7 +55,7 @@ eautoreconf } -src_configure() { +multilib_src_configure() { local cross_opts # bootstrap for cross compilation @@ -73,24 +73,25 @@ cross_opts="--with-cross-build=${WORKDIR}/host" fi + ECONF_SOURCE="${S}" \ econf \ --disable-renaming \ $(use_enable debug) \ - $(use_enable examples samples) \ + $(multilib_is_native_abi && use_enable examples samples || echo --disable-samples) \ $(use_enable static-libs static) \ ${cross_opts} } -src_compile() { +multilib_src_compile() { default - if use doc; then + if multilib_is_native_abi && use doc; then doxygen -u Doxyfile || die doxygen Doxyfile || die fi } -src_test() { +multilib_src_test() { # INTLTEST_OPTS: intltest options # -e: Exhaustive testing # -l: Reporting of memory leaks @@ -104,9 +105,7 @@ emake -j1 VERBOSE="1" check } -src_install() { - default - +multilib_src_install_all() { dohtml ../readme.html use doc && dohtml -p api -r doc/html/