From a10d95e4916d69b3013143353d5f4aa44dec9748 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Sat, 11 Jul 2015 20:46:18 -0700 Subject: Add a Chisel patch that doesn't copy the headers The sane way to deal with Chisel headers is now to use "chisel-hdrtar", as opposed to the current Chisel system which copies headers from the build directory while running Scala. --- sci-electronics/chisel/chisel-2.2.27-r1.ebuild | 77 ++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 sci-electronics/chisel/chisel-2.2.27-r1.ebuild (limited to 'sci-electronics/chisel/chisel-2.2.27-r1.ebuild') diff --git a/sci-electronics/chisel/chisel-2.2.27-r1.ebuild b/sci-electronics/chisel/chisel-2.2.27-r1.ebuild new file mode 100644 index 0000000..2b06070 --- /dev/null +++ b/sci-electronics/chisel/chisel-2.2.27-r1.ebuild @@ -0,0 +1,77 @@ +EAPI="5" + +inherit eutils + +DESCRIPTION="A HDL" +HOMEPAGE="http://github.com/ucb-bar/${PN}/" +SRC_URI="https://github.com/ucb-bar/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/$PV" +KEYWORDS="amd64 amd64-linux" +IUSE="" + +RDEPEND="dev-java/sbt-bin + dev-lang/scala" + +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-2.2.27-copy_to_target.patch" +} + +src_configure() { + cat >Configfile < src/chisel.pc <src/chisel-jargen.bash <src/chisel-hdrtar.bash <