there is a small typo in http://www.firedrop.org.uk/devmanual/eclass-writing/
[ Export Functions ]
... say we had fnord.eclass
ECLASS="fnord"
INHERITED="$INHERITED $ECLASS"
EXPORT_FUNCTIONS src_compile
foo_src_compile() {
do_stuff || die
}
Then an ebuild could do this:
inherit foo.eclass
src_compile() {
do_pre_stuff || die
foo_src_compile
do_post_stuff || die
}
the eclass should be called "foo" everywhere
--
[email protected] mailing list
