diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-08-10 04:56:54 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-08-10 04:56:54 +0000 |
commit | c8c10f8c9ca2624481ef43775c9fa94ec6864241 (patch) | |
tree | e5832951cb6a3c8784397c34891bd1ad7ff8dacb /doc/package/ebuild/eapi/0.docbook | |
parent | b5e0116e6dec579f0297abdfd7f015e0b96b43d3 (diff) | |
download | portage-c8c10f8c9ca2624481ef43775c9fa94ec6864241.tar.gz portage-c8c10f8c9ca2624481ef43775c9fa94ec6864241.tar.bz2 portage-c8c10f8c9ca2624481ef43775c9fa94ec6864241.zip |
Document the differences between EAPIs 0 and 1.
svn path=/main/trunk/; revision=11384
Diffstat (limited to 'doc/package/ebuild/eapi/0.docbook')
-rw-r--r-- | doc/package/ebuild/eapi/0.docbook | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/package/ebuild/eapi/0.docbook b/doc/package/ebuild/eapi/0.docbook index bba6db93c..72e998b9c 100644 --- a/doc/package/ebuild/eapi/0.docbook +++ b/doc/package/ebuild/eapi/0.docbook @@ -1,3 +1,19 @@ <sect1 id='package-ebuild-eapi-0'> <title>EAPI 0</title> + <sect2 id='package-ebuild-eapi-0-phases'> + <title>Phases</title> + <sect3 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> + </sect3> + </sect2> </sect1> |