src_unpack: $WORKDIR src_compile: $S src_test: $S src_install: $S if $S does not exist, then the default should be $WORKDIR as for the pkg_* functions, no ebuild should rely on their initial directory (portage defaults to $PWD that `emerge` is run in last i looked and that certainly is useless to ebuilds)
r90