summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-electronics/chisel/Manifest4
-rw-r--r--sci-electronics/chisel/chisel-2.2.20-r1.ebuild2
-rw-r--r--sci-electronics/chisel/chisel-2.2.22.ebuild73
3 files changed, 77 insertions, 2 deletions
diff --git a/sci-electronics/chisel/Manifest b/sci-electronics/chisel/Manifest
index 62dba27..2ec3006 100644
--- a/sci-electronics/chisel/Manifest
+++ b/sci-electronics/chisel/Manifest
@@ -2,7 +2,9 @@ AUX chisel-2.2.20-Wall.patch 2863 SHA256 276b28b1c19f3ee78a05760a19cc15899f30cc1
DIST chisel-2.2.17.tar.gz 17048024 SHA256 4f7f429003125789a3d7b2315a49b51b67ad8978704a88c40d12ee0130f608f3 SHA512 02e22ef423b9ca11e696082ade7ba09273d63c7a37daa25909199b7ac06e31a1a2dea3be16161fbd9a4a5667743e970c26879dbd8205d1eff167e03fb5fa72b5 WHIRLPOOL 274bb8bc44994812971e746297362e294021214af30f734cf50bc96b9229056703ad1949032aee75569ca0eeab1d3efd31611c2da74ae515cdf04aab9acdcf65
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
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 1490 SHA256 d51d05beb402d1660fd52c6b727e7e8dcc5214fd673fdce75bdf17c02ef06d0f SHA512 d8c0628fa031e5acb61012c4320106514d48c172ec9919ab8f067324d47b117df6e599ebacf9f5bcd49aed31c440a6d4edc824b3471c697577fda9efe5f9fe82 WHIRLPOOL 6683f8629123ecab7386f55cd3252d1172942f1c9d32e2c708ebfbedb69d02fa9c7ba53f8f5a7f2f9d7861e0d7a8510ca903a10ab2837e1971bfd0bc7c641d51
+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
diff --git a/sci-electronics/chisel/chisel-2.2.20-r1.ebuild b/sci-electronics/chisel/chisel-2.2.20-r1.ebuild
index 1e88f11..fe13cf7 100644
--- a/sci-electronics/chisel/chisel-2.2.20-r1.ebuild
+++ b/sci-electronics/chisel/chisel-2.2.20-r1.ebuild
@@ -17,7 +17,7 @@ RDEPEND="dev-java/sbt-bin
DEPEND="${RDEPEND}"
src_prepare() {
- epatch "${FILESDIR}/${P}-Wall.patch" || die
+ epatch "${FILESDIR}/${P}-Wall.patch"
}
src_configure() {
diff --git a/sci-electronics/chisel/chisel-2.2.22.ebuild b/sci-electronics/chisel/chisel-2.2.22.ebuild
new file mode 100644
index 0000000..a64c3cb
--- /dev/null
+++ b/sci-electronics/chisel/chisel-2.2.22.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
+}