Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 480422 | Differences between
and this patch

Collapse All | Expand All

(-)icu-51.2.ebuild.orig (-9 / +8 lines)
Lines 4-10 Link Here
4
4
5
EAPI=5
5
EAPI=5
6
6
7
inherit eutils toolchain-funcs base autotools
7
inherit eutils toolchain-funcs base autotools multilib-minimal
8
8
9
DESCRIPTION="International Components for Unicode"
9
DESCRIPTION="International Components for Unicode"
10
HOMEPAGE="http://www.icu-project.org/"
10
HOMEPAGE="http://www.icu-project.org/"
Lines 55-61 Link Here
55
	eautoreconf
55
	eautoreconf
56
}
56
}
57
57
58
src_configure() {
58
multilib_src_configure() {
59
	local cross_opts
59
	local cross_opts
60
60
61
	# bootstrap for cross compilation
61
	# bootstrap for cross compilation
Lines 73-96 Link Here
73
		cross_opts="--with-cross-build=${WORKDIR}/host"
73
		cross_opts="--with-cross-build=${WORKDIR}/host"
74
	fi
74
	fi
75
75
76
	ECONF_SOURCE="${S}" \
76
	econf \
77
	econf \
77
		--disable-renaming \
78
		--disable-renaming \
78
		$(use_enable debug) \
79
		$(use_enable debug) \
79
		$(use_enable examples samples) \
80
		$(multilib_is_native_abi && use_enable examples samples || echo --disable-samples) \
80
		$(use_enable static-libs static) \
81
		$(use_enable static-libs static) \
81
		${cross_opts}
82
		${cross_opts}
82
}
83
}
83
84
84
src_compile() {
85
multilib_src_compile() {
85
	default
86
	default
86
87
87
	if use doc; then
88
	if multilib_is_native_abi && use doc; then
88
		doxygen -u Doxyfile || die
89
		doxygen -u Doxyfile || die
89
		doxygen Doxyfile || die
90
		doxygen Doxyfile || die
90
	fi
91
	fi
91
}
92
}
92
93
93
src_test() {
94
multilib_src_test() {
94
	# INTLTEST_OPTS: intltest options
95
	# INTLTEST_OPTS: intltest options
95
	#   -e: Exhaustive testing
96
	#   -e: Exhaustive testing
96
	#   -l: Reporting of memory leaks
97
	#   -l: Reporting of memory leaks
Lines 104-112 Link Here
104
	emake -j1 VERBOSE="1" check
105
	emake -j1 VERBOSE="1" check
105
}
106
}
106
107
107
src_install() {
108
multilib_src_install_all() {
108
	default
109
110
	dohtml ../readme.html
109
	dohtml ../readme.html
111
110
112
	use doc && dohtml -p api -r doc/html/
111
	use doc && dohtml -p api -r doc/html/

Return to bug 480422