ebuild rewrite