diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-04-11 18:19:16 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-04-15 11:35:02 +0200 |
commit | 825fee55db0e04b22940ddbbc89e3e9836a3aba0 (patch) | |
tree | f557fe7b2b80f880f9363a15162c6be23f48ce6c /dev-java | |
parent | www-client/chromium: stable channel bump to 100.0.4896.127 (diff) | |
download | gentoo-825fee55db0e04b22940ddbbc89e3e9836a3aba0.tar.gz gentoo-825fee55db0e04b22940ddbbc89e3e9836a3aba0.tar.bz2 gentoo-825fee55db0e04b22940ddbbc89e3e9836a3aba0.zip |
Revert "dev-java/janino: treeclean"
This reverts commit 9f32d9ed20bcea4bfd2d7f39e6608cebf0029e53.
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/janino/Manifest | 1 | ||||
-rw-r--r-- | dev-java/janino/janino-2.7.0.ebuild | 47 | ||||
-rw-r--r-- | dev-java/janino/metadata.xml | 8 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/janino/Manifest b/dev-java/janino/Manifest new file mode 100644 index 000000000000..60add465e00e --- /dev/null +++ b/dev-java/janino/Manifest @@ -0,0 +1 @@ +DIST janino-2.7.0.zip 992669 BLAKE2B cc9ba79d0fc9af5bbe73f167dee6d15619b40b75852fcc227eaf5399e427cde2aeca4b6ef3ff21f303b71dbc21f432cc3e844583cafce3cb073eec1a1498c45a SHA512 0fe0faf16c9d7c63ed14b156bbf75b1ce6deebda24fc0eb0176e96693de9877187694dfb39e748523329430332a36017b2d7d04b2b26ef0847fde7396106185f diff --git a/dev-java/janino/janino-2.7.0.ebuild b/dev-java/janino/janino-2.7.0.ebuild new file mode 100644 index 000000000000..92ea09bfe8cc --- /dev/null +++ b/dev-java/janino/janino-2.7.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="doc source examples" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="An embedded compiler for run-time compilation purposes" +HOMEPAGE="http://janino.net/" +SRC_URI="http://janino.net/download/${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 x86" + +IUSE="" + +CDEPEND="dev-java/ant-core:0 + dev-java/unkrig-nullanalysis:0" +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" +DEPEND=">=virtual/jdk-1.6 + app-arch/unzip + ${CDEPEND}" + +S="${WORKDIR}/${P}" +JAVA_SRC_DIR="src" +JAVA_GENTOO_CLASSPATH="ant-core,unkrig-nullanalysis" + +java_prepare() { + unzip "${S}"/janino-src.zip -d ${JAVA_SRC_DIR} && \ + unzip "${S}"/commons-compiler-src.zip -d ${JAVA_SRC_DIR} || die + find -iname '*.jar' -delete || die + + mkdir -p target/classes && \ + mv src/org.codehaus.commons.compiler.properties target/classes || die + + mkdir examples || die + mv src/org/codehaus/commons/compiler/samples/* examples/ || die +} + +src_install() { + java-pkg-simple_src_install + use examples && java-pkg_doexamples examples/ +} diff --git a/dev-java/janino/metadata.xml b/dev-java/janino/metadata.xml new file mode 100644 index 000000000000..4221e170cbc0 --- /dev/null +++ b/dev-java/janino/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> +</pkgmetadata> |