diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-19 12:11:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-19 12:11:50 +0100 |
commit | fe0961fc9674dd24a017f474a34c1edbbd005965 (patch) | |
tree | dfdf05888e0f5fff9c1faafe6eb0dd5d827b63e5 /dev-java/jnacl | |
parent | bcd00c826070701606b0ccebf46234dfc792d3e9 (diff) |
gentoo auto-resync : 19:09:2024 - 12:11:50
Diffstat (limited to 'dev-java/jnacl')
-rw-r--r-- | dev-java/jnacl/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jnacl/jnacl-1.0-r1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-java/jnacl/Manifest b/dev-java/jnacl/Manifest index d80149b025d2..0f628d52e888 100644 --- a/dev-java/jnacl/Manifest +++ b/dev-java/jnacl/Manifest @@ -1,3 +1,4 @@ DIST jnacl-1.0.tar.gz 9485 BLAKE2B ecbe56d12d7cc53dfc87b2f332c1c4328946ca4ed0d4ec3b8fa22a2ea5d98a3acf51fb17e1d93d3d7831f98a36a3d657a904cb63b225da4a30b8e907cbfe8384 SHA512 b4f28b4bd6deb13c17e74f911f89e762c9111aa90474754f072df66f0ca4bd366dc8369f51404fbd4f6c5f55223bb98b6bfe3de78e2f6b5527509741008f2015 +EBUILD jnacl-1.0-r1.ebuild 1074 BLAKE2B 2347b5ad19a95bc317e5f8c447fa72be25b960d34e461ddddce42de19cd79d4488d835864522389841c7470074ff1c84f7527c02b682340be666a827dbbd33dc SHA512 4a4fcbba2b89505eaeb92502a96ec43a7a5eb6b082db008a7c4bfa8d00a272e7539336a1095e445a532b8b1e7ea14d8d11bd2526f222046f5c0efeb021593a15 EBUILD jnacl-1.0.ebuild 1385 BLAKE2B a901db50ec5ecec4dc0616bfc9969f60558986010d00f7a2f66380b313e931a57d14a5560599cdb7bf1cff756a45aca96a8853a0f2d45df5227b7bb88fe64752 SHA512 b8e56a502b357f624cfb69f964222a69f663e5b078dbf22a847df37562b232e749a2515317346d90e5a7b4a86d025461de97840e448a345fe296585ab068a5b1 MISC metadata.xml 555 BLAKE2B 59925630623875311237a760ed617ba6e16cf17224ab7691bb312ef6cc06b3004169345988f41a7af57363163b154d9246d13af24375c44eb98b5e134e3a039f SHA512 86c5a601c098952f2588371ba473a8998fb1e7bc14e765430ea20a5251d570ec175334e5de9b85186b7894c99665dbf561bfe40718bfee729b6afe5aa3e0be28 diff --git a/dev-java/jnacl/jnacl-1.0-r1.ebuild b/dev-java/jnacl/jnacl-1.0-r1.ebuild new file mode 100644 index 000000000000..2b78a0000a35 --- /dev/null +++ b/dev-java/jnacl/jnacl-1.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="com.neilalexander:jnacl:1.0" +# JAVA_TESTING_FRAMEWORKS="testng" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Pure Java implementation of NaCl: Networking and Cryptography library" +HOMEPAGE="https://github.com/neilalexander/jnacl" +SRC_URI="https://github.com/neilalexander/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P}" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +# We don't have fest-assert +RESTRICT="test" + +DEPEND=">=virtual/jdk-11:*" # module-info +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_SRC_DIR="src/main/java" + +src_compile() { + JAVA_JAR_FILENAME="com.neilalexander.${PN}.jar" + java-pkg-simple_src_compile # creates a legacy jar file without module-info + + jdeps --generate-module-info \ + src/main/java \ + --multi-release 9 \ + "${JAVA_JAR_FILENAME}" || die + + JAVA_JAR_FILENAME="${PN}.jar" + java-pkg-simple_src_compile # creates the final jar file including module-info +} |