- 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:
parent
1b13268411
commit
95d3da2041
|
@ -6,11 +6,22 @@ DESCRIPTION=""
|
||||||
HOMEPAGE=""
|
HOMEPAGE=""
|
||||||
SRC_URI=""
|
SRC_URI=""
|
||||||
|
|
||||||
LICENSE=""
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~x86"
|
KEYWORDS="~x86"
|
||||||
IUSE=""
|
IUSE="debug"
|
||||||
|
|
||||||
DEPEND=""
|
DEPEND=""
|
||||||
RDEPEND=""
|
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"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue