imeplementing gentoo ebuild