diff options
Diffstat (limited to 'dev-java/bcutil')
-rw-r--r-- | dev-java/bcutil/Manifest | 2 | ||||
-rw-r--r-- | dev-java/bcutil/bcutil-1.72.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-java/bcutil/Manifest b/dev-java/bcutil/Manifest index 3bcb3678702f..012afe9e7ebd 100644 --- a/dev-java/bcutil/Manifest +++ b/dev-java/bcutil/Manifest @@ -1,3 +1,5 @@ DIST bc-java-r1rv71.tar.gz 117684695 BLAKE2B db0a1b2576a55592e0447aa8734e8ecb6fe8452d08dabf010070f3c6b5a3b4caa7a5929baaa52796fed0ef397e18fe58fdb91dfef6da75af8f28efb627d2b808 SHA512 c9a095a034863a46027e28754ae96d9750162120bc1af124fa700ad05d23716a606633b674e2e8490bda658d30d30e93f42ba00dcc1ac13596a24f8aa43a666d +DIST bc-java-r1rv72.tar.gz 380374879 BLAKE2B 53c593c1d97e9ee56388479dce7386d254f74a8bab9612e802ebe963df84d1a397fe0c5a7a0d0db2ac2cd3252ae43e79c67b9d3ba1b5ffc20cc8727c7e1a6994 SHA512 dbfdd9e4f30ab713584830a0fd0d7e4f89904366bf4953a9e722656cc4cd92c9d29238649efa7b4cdab64e2c08f4b3b3c96667d1ade569ade5a5a2c9ad9d5b5c EBUILD bcutil-1.71.ebuild 1292 BLAKE2B d7d4b54f874eef8c4af2230f40003c147ed08052ab64eb793a3900d428500fb4d7edcb15772f54490682ef564394ba0115623a3fef017e3b91a581c94eacadf0 SHA512 cf04d5ce377fa1c99078362efbb9ef74946ae2f7cfa333bd66d79c5d06dfd905b2e08914e7c47319971e162c415d0b2a5bec788a0aca8a3651377107144909be +EBUILD bcutil-1.72.ebuild 1240 BLAKE2B 9df0784f3068a216a60ab250ea06c97b530459261ba95bcdec69881ca70055c78e2c5168c38b2c8dcb34e48b6601c469a85db2edbe5307467f14bbb18a4fc5b1 SHA512 7fd0678e5f3412d8d314a7216a782c1dd78182de7c355826b9959d7db81d8abbd10f5186bb8cd0a0fbb6ea5514465ba49ec3d23027d62e96be468ca36d59e887 MISC metadata.xml 400 BLAKE2B 7b3239d613e5793ddd738c087d43a9d6f5b0744acf64103234e0f6628aa2296c6a5f86c9af1b980b715a5c58bdb11187a19e48a0cfbfa4f9f63231ee3396e01c SHA512 5754fab7fa105fad0b55babb33cda5e5b309f047bb6da3b7760bd8a3fab219209aa52a3078c43b194fe7a02cff8e5d8ead3e2ba9c74837ce0e604574b344ed16 diff --git a/dev-java/bcutil/bcutil-1.72.ebuild b/dev-java/bcutil/bcutil-1.72.ebuild new file mode 100644 index 000000000000..685ae8de494f --- /dev/null +++ b/dev-java/bcutil/bcutil-1.72.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.bouncycastle:bcutil-jdk18on:1.72" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java APIs for ASN.1 extension and utility APIs used to support bcpkix and bctls" +HOMEPAGE="https://www.bouncycastle.org/java.html" +SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> bc-java-r${PV/./rv}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +CDEPEND="~dev-java/bcprov-${PV}:0" +DEPEND="${CDEPEND} + >=virtual/jdk-11:*" +RDEPEND="${CDEPEND} + >=virtual/jre-1.8:*" + +DOCS=( ../{README,SECURITY}.md ) +HTML_DOCS=( ../{CONTRIBUTORS,index}.html ) + +S="${WORKDIR}/bc-java-r${PV/./rv}/util" + +JAVA_GENTOO_CLASSPATH="bcprov" +JAVA_SRC_DIR=( + "src/main/java" + "src/main/jdk1.9" +) + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" + +JAVA_TEST_RUN_ONLY=( + "org.bouncycastle.asn1.util.test.AllTests" + "org.bouncycastle.oer.test.AllTests" +) + +src_prepare() { + default + java-pkg_clean .. +} + +src_install() { + docinto html + dodoc -r ../docs + java-pkg-simple_src_install +} |