blob: d00861ccf1ff92788473149113f81c579cc2e750 [file] [log] [blame]
<section id='package-ebuild-eapi-0'>
<title>EAPI 0</title>
<section id='package-ebuild-eapi-0-phases'>
<title>Phases</title>
<section id='package-ebuild-eapi-0-phases-default-src-compile'>
<title>Default src_compile Phase Function</title>
<programlisting>
src_compile() {
if [ -x ./configure ] ; then
econf
fi
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ] ; then
emake || die "emake failed"
fi
}
</programlisting>
</section>
</section>
</section>