summaryrefslogtreecommitdiff
path: root/app-emulation/edumips64
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emulation/edumips64
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emulation/edumips64')
-rw-r--r--app-emulation/edumips64/Manifest7
-rw-r--r--app-emulation/edumips64/edumips64-1.1.ebuild46
-rw-r--r--app-emulation/edumips64/edumips64-1.2.ebuild47
-rw-r--r--app-emulation/edumips64/files/edumips64-1.2-javadoc-cp.patch11
-rw-r--r--app-emulation/edumips64/files/edumips64-javadoc-cp.patch11
-rw-r--r--app-emulation/edumips64/metadata.xml11
6 files changed, 133 insertions, 0 deletions
diff --git a/app-emulation/edumips64/Manifest b/app-emulation/edumips64/Manifest
new file mode 100644
index 000000000000..a7b978c5dc78
--- /dev/null
+++ b/app-emulation/edumips64/Manifest
@@ -0,0 +1,7 @@
+AUX edumips64-1.2-javadoc-cp.patch 483 BLAKE2B a419aaafa7839115cfdcb911c501b973ac3159d89d570172834cf94ed3600c1ae9cf11233832d6afc7c2a19901336d7fa604f10d334d8f739d91da77d6b28bc6 SHA512 f46c16f88e0624dd587a8e8d4f243f8e435344809406af91e7fa3ba63593da373ec93b815681e8a5660ffa0fc80c66b9e89b1b9fd5c80dc236cd626474e43549
+AUX edumips64-javadoc-cp.patch 530 BLAKE2B ac98978ce391c3af6486b327d90bc0364d42afa0c72dcdc0681e84ce99974d4f8d94c2c177781f115c28b89a36961989a33d081615e5e9996ec397941c259921 SHA512 5a0d51507542a484cda3c812a536bef7c58f8d7cff68a07d5c6ead2d4c3bc73ea9b20a550404fac3682d129f8b3f95a8819760420170d08dfe7360657181730f
+DIST edumips64-1.1.tar.bz2 551083 BLAKE2B c76b29d1fbcfe6b03afae11e5c99717db2ef2c3046b66411b0d98ffc3bb119aac147d2283c938ef9947d4737fde141bfd89cee6f46d5db72f75a949a25b74cff SHA512 ca4884bbdb5bb41fe96abca566500af7dc31b330390f352bc6413aacb0561f58b5e95a90e22f58d18065324c155c97bd4d79beb7769efdafc3541cc37145579c
+DIST edumips64-1.2.tar.bz2 551455 BLAKE2B 614bf851964ea32d6954fb5345f6b07b6292bf90e24dca5d3ea8d86c1b910e1e9ade6ebfece054922ad3506586e9f32c1f6570a7248023e6a867a8b5c09b1203 SHA512 93a5bcae3ab96c35688de7589b9ecb465fe841b007a50e1b04f8194d12a45a4e7134951584f4fbfad5cee51925d1d21b0f425f182999f66fe57a31adbd3f6602
+EBUILD edumips64-1.1.ebuild 1055 BLAKE2B 57dfaa0cd8a3a0c929e5f719830181ad0075a2ee496054a194d1a7ae2abdd911dab64c8d1dc318ccb7eb0023b446d87216c974285af0265b58091f943740f73b SHA512 4d6411ac753d68c7887b1f40d3f006ae7fa78831bda5898ef546c21d3331b3830775ad5ce638b4ac9ace901b447d49b509e61bdaf04ceaf6ccd6c515827540db
+EBUILD edumips64-1.2.ebuild 1076 BLAKE2B b0fd1593dc9915b86f1424b804ccb292a36b21df434ca8494b424249e46613f49cccacdda0bd480e908a6468df6acc521caa6600bcb37821cf4ecbfb377da356 SHA512 bd3ab8afa73b8a4fb2624669f61ab92c1aa7ac8cec9b0e282fb3ca13e84aa462bf44ef8e6a01aa7624913e681a204f73d705dca5f2e42c4da7e11237f96461b3
+MISC metadata.xml 325 BLAKE2B fa644dd786234b486da85e620556900d3ddf69fdaad914f35e888780c2c5a3e17b5ee62fde9919a725e07f9203092741d8e68af7c3418416d182078751ffacce SHA512 e6541353f8d7f6c508bfa2996a938b41c5f98f163f03119c5885e60cf447f1820bc8ab17aa57d45241189e4c1528ec6667048a019042b70df2ecbf95505d2882
diff --git a/app-emulation/edumips64/edumips64-1.1.ebuild b/app-emulation/edumips64/edumips64-1.1.ebuild
new file mode 100644
index 000000000000..9a2d22592836
--- /dev/null
+++ b/app-emulation/edumips64/edumips64-1.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc test"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="A visual and cross-platform MIPS64 CPU Simulator"
+HOMEPAGE="https://www.edumips.org"
+SLOT="0"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/sphinx
+ dev-java/javahelp:0
+ >=virtual/jdk-1.6
+ doc? ( sys-devel/make )
+ test? (
+ dev-java/junit:4
+ dev-java/ant-junit4
+ )"
+RDEPEND=">=virtual/jre-1.6"
+
+EANT_BUILD_TARGET="slim-jar"
+EANT_DOC_TARGET="htmldoc"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-javadoc-cp.patch"
+ java-pkg_jar-from --build-only --into libs javahelp jhall.jar
+ use test && java-pkg_jar-from --build-only --into libs junit-4 junit.jar junit-4.10.jar
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ java-pkg_newjar ${PN}-${PV}-nodeps.jar ${PN}.jar
+ dodoc RELEASE_NOTES authors
+ use doc && java-pkg_dojavadoc docs/en/output/html
+}
+
+src_test() {
+ ANT_TASKS="ant-junit4" eant test
+}
diff --git a/app-emulation/edumips64/edumips64-1.2.ebuild b/app-emulation/edumips64/edumips64-1.2.ebuild
new file mode 100644
index 000000000000..518464fb1ce0
--- /dev/null
+++ b/app-emulation/edumips64/edumips64-1.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc test"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="A visual and cross-platform MIPS64 CPU Simulator"
+HOMEPAGE="https://www.edumips.org"
+SLOT="0"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/sphinx
+ dev-java/javatoolkit
+ dev-java/javahelp:0
+ >=virtual/jdk-1.6
+ doc? ( sys-devel/make )
+ test? (
+ dev-java/junit:4
+ dev-java/ant-junit4
+ )"
+RDEPEND=">=virtual/jre-1.6"
+
+EANT_BUILD_TARGET="slim-jar"
+EANT_DOC_TARGET="htmldoc"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-javadoc-cp.patch"
+ java-pkg_jar-from --build-only --into libs javahelp jhall.jar
+ use test && java-pkg_jar-from --build-only --into libs junit-4 junit.jar junit-4.10.jar
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ java-pkg_newjar ${PN}-${PV}-nodeps.jar ${PN}.jar
+ dodoc RELEASE_NOTES authors
+ use doc && java-pkg_dojavadoc docs/en/output/html
+}
+
+src_test() {
+ ANT_TASKS="ant-junit4" eant test
+}
diff --git a/app-emulation/edumips64/files/edumips64-1.2-javadoc-cp.patch b/app-emulation/edumips64/files/edumips64-1.2-javadoc-cp.patch
new file mode 100644
index 000000000000..14ead77d3335
--- /dev/null
+++ b/app-emulation/edumips64/files/edumips64-1.2-javadoc-cp.patch
@@ -0,0 +1,11 @@
+--- a/build.xml
++++ b/build.xml
+@@ -27,7 +27,7 @@
+
+ <!-- Access the environment -->
+ <property environment="env" />
+- <property name="base.classpath" value="libs:libs/junit-4.10.jar:libs/hamcrest-core-1.3.jar:${env.CLASSPATH}" />
++ <property name="base.classpath" value="libs:libs/jhall.jar:libs/junit-4.10.jar:libs/hamcrest-core-1.3.jar:${env.CLASSPATH}" />
+
+ <!-- File names -->
+ <property name="standalone_jar_filename" value="edumips64-${version}.jar" />
diff --git a/app-emulation/edumips64/files/edumips64-javadoc-cp.patch b/app-emulation/edumips64/files/edumips64-javadoc-cp.patch
new file mode 100644
index 000000000000..80e389049b5c
--- /dev/null
+++ b/app-emulation/edumips64/files/edumips64-javadoc-cp.patch
@@ -0,0 +1,11 @@
+--- edumips64-1.1.orig/build.xml
++++ edumips64-1.1/build.xml
+@@ -24,7 +24,7 @@
+
+ <!-- Access the environment -->
+ <property environment="env" />
+- <property name="base.classpath" value="libs:libs/junit-4.10.jar:libs/hamcrest-core-1.3.jar:${env.CLASSPATH}" />
++ <property name="base.classpath" value="libs:libs/jhall.jar:libs/junit-4.10.jar:libs/hamcrest-core-1.3.jar:${env.CLASSPATH}" />
+
+ <!-- File names -->
+ <property name="standalone_jar_filename" value="edumips64-${version}.jar" />
diff --git a/app-emulation/edumips64/metadata.xml b/app-emulation/edumips64/metadata.xml
new file mode 100644
index 000000000000..dfc7b27fde63
--- /dev/null
+++ b/app-emulation/edumips64/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">edumips64</remote-id>
+ </upstream>
+</pkgmetadata>