summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2015-07-10 19:16:56 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2015-07-10 19:16:56 -0700
commit051188f49374d39bfdb8d0439b0543c55f04aafe (patch)
tree114e973c8df304b69ef3ca9e0524e263601f2654 /sci-electronics
parentUpdate pconfigure to 0.10.2 (diff)
downloadpalmer-051188f49374d39bfdb8d0439b0543c55f04aafe.tar.gz
palmer-051188f49374d39bfdb8d0439b0543c55f04aafe.tar.bz2
palmer-051188f49374d39bfdb8d0439b0543c55f04aafe.zip
Update Chisel to 2.2.27
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/chisel/Manifest2
-rw-r--r--sci-electronics/chisel/chisel-2.2.27.ebuild73
2 files changed, 75 insertions, 0 deletions
diff --git a/sci-electronics/chisel/Manifest b/sci-electronics/chisel/Manifest
index 2ec3006..272c916 100644
--- a/sci-electronics/chisel/Manifest
+++ b/sci-electronics/chisel/Manifest
@@ -3,8 +3,10 @@ DIST chisel-2.2.17.tar.gz 17048024 SHA256 4f7f429003125789a3d7b2315a49b51b67ad89
DIST chisel-2.2.19.tar.gz 17599586 SHA256 9ce566e17391d4750d7c4475764f4c2b52312bd110f05da6e9800b631915add6 SHA512 7338ce9c2fc0558bd8441f5a82f3be6302a4600cda4adbf1e2d78fe47a68a53cfbdbd1c8f7e86430b0c542b69a525f2286e703f866b3c1bb803f574842a1350b WHIRLPOOL 7fed27f48ab52be38fd4bf7f47b857fb0cfdef555af320546898264cac9f87136de1ac333b94fd2b60c54991657abf7396d9e9acb84af317f0e95e74477210ac
DIST chisel-2.2.20.tar.gz 17608710 SHA256 c1d13af4f68f25882c01ce8a46444ebe6e18365e9c535eeb53279f7920906cbd SHA512 a893d94244dac713d16cce8e7b369af5e6018836a988a177b009ef6783096d7c5c5e396bc4de0684bfc233b405b9b28f76a8dcb15cd7d9bb8a6460fda6de6314 WHIRLPOOL 6fff7744a82562eb5d52bb550807f268bce85104a569609d7f519e5de3fddd9344032f855d63865a3773515f1561a0d2e9f6420fee2f5374a7bc5e0c9870b1a5
DIST chisel-2.2.22.tar.gz 17610199 SHA256 d98eb8ff5ab211482e76b626f0e017b5bcf291fc3de2067f1ee37c8157325395 SHA512 d20a8b4b98edd2cda6cd7da0b3f7f08e063258ee5b37bf237fffa5cbefba99d498675b327da51472fdcec57c6be98382122cb3bdb73fd04f88aea02651c9f5ec WHIRLPOOL 2270ce11c36ef53ef013cf0da378b0ea88525834267cc2ef1946341b5a4d2858c5da4537a4283d1b15e86c0201eaf537cd6e6012bd6290651ff0bdf00ed9423e
+DIST chisel-2.2.27.tar.gz 17624697 SHA256 a4c344f9666058db4bd3f7093d02762c46314ab15b8091f6a47b4331ccb8baec SHA512 1d0da75c5ba522e46c783d5f0d48d05fbe2bddd1f2d143b3f6c49ad4b457ade4ffb10913c2105c7ccd995895d3c6cdcf70ec26bbad7edac046f440e9a83a0c9d WHIRLPOOL c0962322fd96b6c3fecce4669cc03a48284f63e122bc98b0fc5fe8d3e2aa03ff6375f6e2e9060a393109b6023350c8ab3404ea50dbf744f34c66f054c701ebd5
EBUILD chisel-2.2.17.ebuild 1419 SHA256 20cf7960a3a11c27d7106d1114241b9ede8efc690585db59ca901cf57639229c SHA512 6e72b45320c104c69d0950756401ca42c531495bc928e1eb12b29e06f57cf63bfcba857c79c9fcd2cba0c70fe6a93e5a08dc66728797276ef31a5df7c85cbafd WHIRLPOOL cefdac2a073227ebefa774d5a520c19bb46310f72c3becf7044234f473f0c65c2d21b2aa1e91e41daf890cba4548066c40ed8902dee5a55c104d686046d21e23
EBUILD chisel-2.2.19-r1.ebuild 1419 SHA256 20cf7960a3a11c27d7106d1114241b9ede8efc690585db59ca901cf57639229c SHA512 6e72b45320c104c69d0950756401ca42c531495bc928e1eb12b29e06f57cf63bfcba857c79c9fcd2cba0c70fe6a93e5a08dc66728797276ef31a5df7c85cbafd WHIRLPOOL cefdac2a073227ebefa774d5a520c19bb46310f72c3becf7044234f473f0c65c2d21b2aa1e91e41daf890cba4548066c40ed8902dee5a55c104d686046d21e23
EBUILD chisel-2.2.20-r1.ebuild 1483 SHA256 e13237af740e698ca76cbdeb766dce03b1715543163149fbc266dac1244a756d SHA512 b7fb298008837999a25e5ae9305b257210c42d0f0c78cc44cd85ce80b942725e877c30139cbf37535e67537d6da8bcbea94edb7c5255a744acc6bc2ee0046b1e WHIRLPOOL d34a88fab518c5675132634c51ab273ef57a657ec1c9d4958b4af1ca1cb9bb122b19944fb24f6894e27d802932b1689914d52605d1e05d00f3a30484d07bb2fb
EBUILD chisel-2.2.20.ebuild 1419 SHA256 20cf7960a3a11c27d7106d1114241b9ede8efc690585db59ca901cf57639229c SHA512 6e72b45320c104c69d0950756401ca42c531495bc928e1eb12b29e06f57cf63bfcba857c79c9fcd2cba0c70fe6a93e5a08dc66728797276ef31a5df7c85cbafd WHIRLPOOL cefdac2a073227ebefa774d5a520c19bb46310f72c3becf7044234f473f0c65c2d21b2aa1e91e41daf890cba4548066c40ed8902dee5a55c104d686046d21e23
EBUILD chisel-2.2.22.ebuild 1419 SHA256 20cf7960a3a11c27d7106d1114241b9ede8efc690585db59ca901cf57639229c SHA512 6e72b45320c104c69d0950756401ca42c531495bc928e1eb12b29e06f57cf63bfcba857c79c9fcd2cba0c70fe6a93e5a08dc66728797276ef31a5df7c85cbafd WHIRLPOOL cefdac2a073227ebefa774d5a520c19bb46310f72c3becf7044234f473f0c65c2d21b2aa1e91e41daf890cba4548066c40ed8902dee5a55c104d686046d21e23
+EBUILD chisel-2.2.27.ebuild 1419 SHA256 20cf7960a3a11c27d7106d1114241b9ede8efc690585db59ca901cf57639229c SHA512 6e72b45320c104c69d0950756401ca42c531495bc928e1eb12b29e06f57cf63bfcba857c79c9fcd2cba0c70fe6a93e5a08dc66728797276ef31a5df7c85cbafd WHIRLPOOL cefdac2a073227ebefa774d5a520c19bb46310f72c3becf7044234f473f0c65c2d21b2aa1e91e41daf890cba4548066c40ed8902dee5a55c104d686046d21e23
diff --git a/sci-electronics/chisel/chisel-2.2.27.ebuild b/sci-electronics/chisel/chisel-2.2.27.ebuild
new file mode 100644
index 0000000..a64c3cb
--- /dev/null
+++ b/sci-electronics/chisel/chisel-2.2.27.ebuild
@@ -0,0 +1,73 @@
+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
+}