- Add src_compile() test-aware

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@593 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-05-31 08:13:22 +00:00
parent 1b13268411
commit 95d3da2041
1 changed files with 13 additions and 2 deletions

View File

@ -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"
}