Lines 2-8
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/app-text/xml2doc/xml2doc-20030510-r1.ebuild,v 1.10 2011/02/22 16:36:27 scarabeus Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/xml2doc/xml2doc-20030510-r1.ebuild,v 1.10 2011/02/22 16:36:27 scarabeus Exp $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
inherit eutils toolchain-funcs |
6 |
|
6 |
|
7 |
DESCRIPTION="Tool to convert simple XML to a variety of formats (pdf, html, txt, manpage)" |
7 |
DESCRIPTION="Tool to convert simple XML to a variety of formats (pdf, html, txt, manpage)" |
8 |
|
8 |
|
Lines 37-43
Link Here
|
37 |
|
37 |
|
38 |
src_compile() { |
38 |
src_compile() { |
39 |
econf --disable-pdf |
39 |
econf --disable-pdf |
40 |
emake || die "Compilation failed" |
40 |
emake CC="$(tc-getCC)" || die "Compilation failed" |
41 |
|
41 |
|
42 |
cd "${S}/doc" |
42 |
cd "${S}/doc" |
43 |
"${S}"/src/xml2doc -oM manpage.xml xml2doc.1 || die |
43 |
"${S}"/src/xml2doc -oM manpage.xml xml2doc.1 || die |