summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/dragonegg/dragonegg-3.1.ebuild')
-rw-r--r--sys-devel/dragonegg/dragonegg-3.1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys-devel/dragonegg/dragonegg-3.1.ebuild b/sys-devel/dragonegg/dragonegg-3.1.ebuild
index 8d6fb54e5a97..52b4aa587028 100644
--- a/sys-devel/dragonegg/dragonegg-3.1.ebuild
+++ b/sys-devel/dragonegg/dragonegg-3.1.ebuild
@@ -1,13 +1,14 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/dragonegg-3.1.ebuild,v 1.1 2012/05/24 12:13:40 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/dragonegg-3.1.ebuild,v 1.2 2012/07/03 13:57:17 voyageur Exp $
EAPI=4
inherit multilib toolchain-funcs
DESCRIPTION="GCC plugin that uses LLVM for optimization and code generation"
HOMEPAGE="http://dragonegg.llvm.org/"
-SRC_URI="http://llvm.org/releases/${PV}/${P}.src.tar.gz"
+SRC_URI="http://llvm.org/releases/${PV}/${P}.src.tar.gz
+ test? ( http://llvm.org/releases/${PV}/llvm-${PV}.src.tar.gz )"
LICENSE="GPL-2"
SLOT="0"
@@ -32,6 +33,10 @@ src_compile() {
emake CC="$(tc-getCC)" GCC="$(tc-getCC)" CXX="$(tc-getCXX)" VERBOSE=1
}
+src_test() {
+ emake LIT_DIR="${WORKDIR}"/llvm-${PV}.src/utils/lit check
+}
+
src_install() {
# Install plugin in llvm lib directory
exeinto /usr/$(get_libdir)/llvm