summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/chisel/chisel-2.2.22.ebuild')
-rw-r--r--sci-electronics/chisel/chisel-2.2.22.ebuild73
1 files changed, 0 insertions, 73 deletions
diff --git a/sci-electronics/chisel/chisel-2.2.22.ebuild b/sci-electronics/chisel/chisel-2.2.22.ebuild
deleted file mode 100644
index a64c3cb..0000000
--- a/sci-electronics/chisel/chisel-2.2.22.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-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_configure() {
- cat >Configfile <<EOF
-PREFIX = ${EPREFIX}/usr
-
-LANGUAGES += scala
-LANGUAGES += pkgconfig
-LANGUAGES += h
-LANGUAGES += bash
-
-LIBRARIES += libchisel.jar
-SOURCES += main/scala/Driver.scala
-
-LIBRARIES += pkgconfig/chisel.pc
-SOURCES += chisel.pc
-
-HEADERS += chisel/emulator.h
-SOURCES += main/resources/emulator.h
-
-HEADERS += chisel/emulator_mod.h
-SOURCES += main/resources/emulator_mod.h
-
-HEADERS += chisel/emulator_api.h
-SOURCES += main/resources/emulator_api.h
-
-BINARIES += chisel-hdrtar
-SOURCES += chisel-hdrtar.bash
-
-BINARIES += chisel-jargen
-SOURCES += chisel-jargen.bash
-EOF
-
- cat > src/chisel.pc <<EOF
-prefix=@@pconfigure_prefix@@
-exec_prefix=@@pconfigure_prefix@@
-libdir=\${prefix}/@@pconfigure_libdir@@
-includedir=\${prefix}/@@pconfigure_hdrdir@@
-
-Name: chisel
-Description: A HDL
-Version: $PV
-Libs: -lchisel
-Cflags: -I\${includedir}/chisel
-URL: http://github.com/ucb-bar/chisel
-EOF
-
- cat >src/chisel-jargen.bash <<EOF
-cat ${EPREFIX}/usr/lib/libchisel.jar
-EOF
-
- cat >src/chisel-hdrtar.bash <<EOF
-tar -C ${EPREFIX}/usr/include/chisel -c .
-EOF
-
- pconfigure
-}