EAPI

EAPI 0
Phases
Default src_compile Phase Function
EAPI 1
IUSE defaults
Phases
Default src_compile Phase Function
SLOT Dependencies
EAPI 2
Helpers
doman
Recognition of Language Codes in File Names
Metadata
Dependencies
Blocker Atoms
New Meaning for Old Syntax
New !!atom Syntax
USE Dependencies
Unconditional USE Dependencies
Conditional USE Dependencies
SRC_URI
Customization of Output File Names
Phases
New src_prepare Phase Function
New src_configure Phase Function
Execution Order of Phase Functions
Default Phase Functions
Default Phase Function Alias
EAPI 3
Helpers
unpack
Support for the xz file extension
Support for installation prefix
Helpers
econf
einstall
Variables
EAPI 4
Helpers
Removed dohard and dosed
All helpers die on failure
Controllable Compression
docompress helper
dodoc -r
doins and newins preserve symlinks
doman -i18n option takes precedence over filename language suffix
econf adds --disable-dependency-tracking
use_with and use_enable support empty third argument
Metadata
Dependencies
unset RDEPEND no longer triggers implicit setting
USE Dependency Defaults
REQUIRED_USE
Motivation
Specification
Phases
New pkg_pretend Phase Function
Default src_install no longer a no-op
S to WORKDIR fallback restricted
Variables
AA and KV variables are no longer exported
MERGE_TYPE
REPLACING_VERSIONS and REPLACED_BY_VERSION
EAPI 4-python
Helpers
Extended default list of extensions in dohtml
Helpers Banned in Global Scope
Metadata
Support for Period Characters in Package Names
Support for Period Characters in USE Flags
Repository Dependencies
globstar shell option enabled by default
Variables
REPOSITORY Variable
Extended Repository-Level Configuration
Directories Allowed for Profile-Level and Repository-Level Configuration
USE Flag Aliases
EAPI 4-slot-abi
Metadata
SLOT Supports Optional "sub-slot" ABI part
Dependency Atom slot/sub-slot := Operator
Dependency Atom slot/sub-slot :* Operator
EAPI 5
Metadata
REQUIRED_USE supports new at-most-one-of operator
SLOT supports optional "sub-slot" part
Dependency atom slot operators
Profiles
Profile IUSE Injection
Profile stable USE forcing and masking
Helpers
econf adds --disable-silent-rules
new* commands can read from standard input
New option --host-root for {has,best}_version
New doheader helper function
New usex helper function
Phases
src_test supports parallel tests
Ebuild Environment Variables
New EBUILD_PHASE_FUNC variable
EAPI 5-progress
Helpers
master_repositories
repository_path
available_eclasses
eclass_path
license_path
package_manager_build_user
package_manager_build_group
Extended default list of extensions in dohtml
Case-insensitive matching of extensions in unpack
Helpers Banned in Global Scope
Metadata
Support for Period Characters in Package Names
Support for Period Characters in USE Flags
Repository Dependencies
Automatic Unpack Dependencies
globstar shell option enabled by default
Variables
REPOSITORY Variable
Extended Repository-Level Configuration
Directories Allowed for Profile-Level and Repository-Level Configuration
USE Flag Aliases
EAPI 5-hdepend
Metadata
Dependencies
HDEPEND
Special "targetroot" USE flag

EAPI 0

Phases

Default src_compile Phase Function
src_compile() {
	if [ -x ./configure ] ; then
		econf
	fi
	if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ] ; then
		emake || die "emake failed"
	fi
}