Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 509536
Collapse All | Expand All

(-)/usr/portage/dev-libs/libdaemon/libdaemon-0.14-r1.ebuild (-9 / +9 lines)
Lines 4-10 Link Here
4
4
5
EAPI=4
5
EAPI=4
6
6
7
inherit libtool eutils
7
inherit libtool eutils multilib-minimal
8
8
9
DESCRIPTION="Simple library for creating daemon processes in C"
9
DESCRIPTION="Simple library for creating daemon processes in C"
10
HOMEPAGE="http://0pointer.de/lennart/projects/libdaemon/"
10
HOMEPAGE="http://0pointer.de/lennart/projects/libdaemon/"
Lines 18-26 Link Here
18
RDEPEND=""
18
RDEPEND=""
19
DEPEND="doc? ( app-doc/doxygen )"
19
DEPEND="doc? ( app-doc/doxygen )"
20
20
21
DOCS=( "README" )
21
multilib_src_configure() {
22
22
	ECONF_SOURCE="${S}" \
23
src_configure() {
24
	econf \
23
	econf \
25
		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
24
		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
26
		--localstatedir=/var \
25
		--localstatedir=/var \
Lines 29-47 Link Here
29
		$(use_enable static-libs static)
28
		$(use_enable static-libs static)
30
}
29
}
31
30
32
src_compile() {
31
multilib_src_compile() {
33
	emake
32
	emake
34
33
35
	if use doc ; then
34
	if multilib_is_native_abi && use doc ; then
36
		einfo "Building documentation"
35
		einfo "Building documentation"
37
		emake doxygen
36
		emake doxygen
38
	fi
37
	fi
39
}
38
}
40
39
41
src_install() {
40
multilib_src_install_all() {
42
	default
41
42
	prune_libtool_files --all
43
43
44
	find "${ED}" -name '*.la' -exec rm -f {} +
44
	dodoc README
45
45
46
	if use doc; then
46
	if use doc; then
47
		ln -sf doc/reference/html reference
47
		ln -sf doc/reference/html reference

Return to bug 509536