diff options
Diffstat (limited to 'dev-java/jcifs')
-rw-r--r-- | dev-java/jcifs/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jcifs/jcifs-1.3.19-r2.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-java/jcifs/Manifest b/dev-java/jcifs/Manifest index 2b2efd099263..ab124cf1a27d 100644 --- a/dev-java/jcifs/Manifest +++ b/dev-java/jcifs/Manifest @@ -1,3 +1,4 @@ DIST jcifs-1.3.19.tgz 883534 BLAKE2B ede24f43018a4bf304019aeddb6cf789e3a01622d840dc3f6bfa45104b97a39d256807f766f14b3e215e53519f3838aabeb73bdf7897323fb41ca5ef2b7c9372 SHA512 24ea656469ac7a5666d28dcdf122c80d254af5317a704718d8848858a21b38c6efe9b977854a33130cdb57d2fc8324ac3ee01fb5443360899f9572ec41788eef EBUILD jcifs-1.3.19-r1.ebuild 796 BLAKE2B 4f7851449f0618e9f4457ec4a4dbb0d620f5c546bf9054b44f3fc6dff601181f5f447be90d440ee5310071bfb2378632a1a423d1c1c968605222e919c9d3a59c SHA512 b9b0435c98c1c6e898ddc8b4812f2bdc11bde89b06cc517305e59dec22c23c8f82b7ac67dbc11204d0168c674f61657e89bd612810cedf818069080f7c35e7eb +EBUILD jcifs-1.3.19-r2.ebuild 896 BLAKE2B 88f5dafefbf815e62085b79f7367a6c076014405915ce377b89db11a3dfbd8a51350dd98c6c3bfe754e6cc6658470614b63313279889b0097d42926b4fe3ba62 SHA512 0919366503ae171d9281341e55d558e66f858c3f92f9e0b0eda69e27027c62a7f409d246e0dbe856533a7d73ecaf6405978b62d0f77be805546dbac6da949d23 MISC metadata.xml 548 BLAKE2B bc7c331f8d53556d450986b25180a144923c7a84dd0aeaff351c4603899d2664fd919f82ff6d9545331855889aa350b7b9d68e8963c2454a79dab7cf26904003 SHA512 339f5cabfc56e1c50cb6d2e1a55992bc593c31ed9b818cd1c071f4c5e07e46cf2c5699287ecf8e27e69ba3f48946856c31723fe9e26e37ef8a1a795f32b70a3d diff --git a/dev-java/jcifs/jcifs-1.3.19-r2.ebuild b/dev-java/jcifs/jcifs-1.3.19-r2.ebuild new file mode 100644 index 000000000000..5544a2eeba75 --- /dev/null +++ b/dev-java/jcifs/jcifs-1.3.19-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc examples source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Library that implements the CIFS/SMB networking protocol in Java" +SRC_URI="https://jcifs.samba.org/src/${P}.tgz" +HOMEPAGE="https://jcifs.samba.org/" +S="${WORKDIR}/${P/-/_}" + +LICENSE="LGPL-2.1" +SLOT="1.1" + +KEYWORDS="~amd64 ~ppc64 ~x86" + +CP_DEPEND="dev-java/jakarta-servlet-api:4" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.8:*" + +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-1.8:*" + +JAVA_RESOURCE_DIRS="res" +JAVA_SRC_DIR="src" + +src_prepare() { + java-pkg-2_src_prepare + java-pkg_clean + mkdir -p res || die + cd src || die + find . -type f -name '*.css' -o -name '*.map' \ + | xargs cp --parents -v -t ../res || die +} + +src_install() { + java-pkg-simple_src_install + use examples && java-pkg_doexamples examples +} |