diff options
Diffstat (limited to 'dev-java/bsh')
-rw-r--r-- | dev-java/bsh/Manifest | 3 | ||||
-rw-r--r-- | dev-java/bsh/bsh-2.0_beta6.ebuild | 67 | ||||
-rw-r--r-- | dev-java/bsh/metadata.xml | 11 |
3 files changed, 81 insertions, 0 deletions
diff --git a/dev-java/bsh/Manifest b/dev-java/bsh/Manifest new file mode 100644 index 000000000000..7761b988a4a0 --- /dev/null +++ b/dev-java/bsh/Manifest @@ -0,0 +1,3 @@ +DIST bsh-2.0b6.zip 1994608 BLAKE2B c06b783fed6a1b433d5c6efcf3f2343493c96895863118326f41076d56465b88b9139810c8ae38895b9c2c2da226788ef8ba7657b1ceadcac8ee8e7ed79d9c07 SHA512 ce461cc74bc48580c636c2f2e55e4e734a2b2075547cc5663722866e5c978a680051131c13240afb586a777ab93165119d1f96f9623bd9747f8e7d8293dd3bcf +EBUILD bsh-2.0_beta6.ebuild 1313 BLAKE2B 67d40df99363970f214d50593c4d300f6e29a03c3208bebe8636ecfd4dd5394943ab8c07e5777210d4e31fa4894c8856c4fee92262f99b50bf810b6fd431c6b2 SHA512 5294ec898198726a1b5c1261bdb6d19bb23da96101882f82757a72b585c0453b26325244f2aebdc691ebb13cc09397f7b5eaa0f2f6b47d36a902ab52c2b8961a +MISC metadata.xml 330 BLAKE2B 4295b9afc957d9b69add3267ff62910a7cb8bed9b918dec04d0f56612f452b669639462479e9627c2fd451977c4f74b2ddbf031b395e34e11a0af34a70405d8b SHA512 5c495c72dfc5d55c63b0af0740b0b82306e047817965a8c095dc6ae89324af842d5f8ccaa218107ff715544051e9c984fd1997ca11786a9c0fd070d72441b7be diff --git a/dev-java/bsh/bsh-2.0_beta6.ebuild b/dev-java/bsh/bsh-2.0_beta6.ebuild new file mode 100644 index 000000000000..2026697f5ffc --- /dev/null +++ b/dev-java/bsh/bsh-2.0_beta6.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +MY_PN="beanshell" +MY_BETA="b6" +MY_PV="${PV%%_*}" +MY_P="${PN}-${MY_PV}${MY_BETA}" + +DESCRIPTION="A small embeddable Java source interpreter" +HOMEPAGE="https://github.com/beanshell/beanshell" +SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${MY_PV}${MY_BETA}.zip -> ${MY_P}.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="" + +CDEPEND=" + dev-java/bsf:2.3 + java-virtuals/servlet-api:3.0 +" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +DEPEND=" + ${CDEPEND} + test? ( dev-java/ant-junit:0 ) + source? ( app-arch/zip ) + >=virtual/jdk-1.6" + +S="${WORKDIR}/${MY_PN}-${MY_PV}${MY_BETA}" + +JAVA_ANT_REWRITE_CLASSPATH="yes" +EANT_BUILD_TARGET="jarall" +EANT_DOC_TARGET="javadoc" +EANT_GENTOO_CLASSPATH=" + bsf-2.3 + servlet-api-3.0 +" + +java_prepare() { + java-pkg_clean +} + +EANT_TEST_TARGET="test" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar "dist/${MY_P}.jar" "${PN}.jar" + + java-pkg_dolauncher "${PN}-console" --main bsh.Console + java-pkg_dolauncher "${PN}-interpreter" --main bsh.Interpreter + + use doc && java-pkg_dojavadoc javadoc + use source && java-pkg_dosrc src/bsh +} diff --git a/dev-java/bsh/metadata.xml b/dev-java/bsh/metadata.xml new file mode 100644 index 000000000000..203bfa39aeaf --- /dev/null +++ b/dev-java/bsh/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="github">beanshell/beanshell</remote-id> + </upstream> +</pkgmetadata> |