diff --git a/distro/gentoo/sgpemv2-0.00.ebuild b/distro/gentoo/sgpemv2-0.00.ebuild index ce6022e..8e48d8d 100644 --- a/distro/gentoo/sgpemv2-0.00.ebuild +++ b/distro/gentoo/sgpemv2-0.00.ebuild @@ -6,11 +6,22 @@ DESCRIPTION="" HOMEPAGE="" SRC_URI="" -LICENSE="" +LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" -IUSE="" +IUSE="debug" DEPEND="" RDEPEND="" +src_compile() { + if use debug; then + conf_opts="--enable-tests" + else + conf_opts="--disable-tests" + fi + + econf ${conf_opts} || die "configure failed" + emake || die "make all failed" +} +