Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jcifs/
Date: Sat, 22 Jan 2022 09:02:36
Message-Id: 1642842150.801b4d4c8c7a66459f9cde2c4cd71cff56f470e6.fordfrog@gentoo
1 commit: 801b4d4c8c7a66459f9cde2c4cd71cff56f470e6
2 Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
3 AuthorDate: Fri Jan 21 14:51:58 2022 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 22 09:02:30 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=801b4d4c
7
8 dev-java/jcifs: EAPI 8, min java 1.8:*
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
12 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
13
14 dev-java/jcifs/jcifs-1.3.19-r1.ebuild | 46 +++++++++++++++++++++++++++++++++++
15 1 file changed, 46 insertions(+)
16
17 diff --git a/dev-java/jcifs/jcifs-1.3.19-r1.ebuild b/dev-java/jcifs/jcifs-1.3.19-r1.ebuild
18 new file mode 100644
19 index 000000000000..b8169cb79866
20 --- /dev/null
21 +++ b/dev-java/jcifs/jcifs-1.3.19-r1.ebuild
22 @@ -0,0 +1,46 @@
23 +# Copyright 1999-2022 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=8
27 +
28 +JAVA_PKG_IUSE="doc examples source"
29 +
30 +inherit java-pkg-2 java-pkg-simple
31 +
32 +DESCRIPTION="Library that implements the CIFS/SMB networking protocol in Java"
33 +SRC_URI="https://jcifs.samba.org/src/${P}.tgz"
34 +HOMEPAGE="https://jcifs.samba.org/"
35 +
36 +LICENSE="LGPL-2.1"
37 +SLOT="1.1"
38 +
39 +KEYWORDS="~amd64 ~ppc64 ~x86"
40 +
41 +CDEPEND="java-virtuals/servlet-api:3.0"
42 +
43 +RDEPEND="
44 + ${CDEPEND}
45 + >=virtual/jre-1.8:*"
46 +
47 +DEPEND="
48 + ${CDEPEND}
49 + >=virtual/jdk-1.8:*"
50 +
51 +JAVA_GENTOO_CLASSPATH="servlet-api-3.0"
52 +
53 +JAVA_SRC_DIR="src"
54 +
55 +DOCS=( README.txt )
56 +
57 +S="${WORKDIR}/${P/-/_}"
58 +
59 +src_prepare() {
60 + default
61 + java-pkg_clean
62 +}
63 +
64 +src_install() {
65 + java-pkg-simple_src_install
66 + use examples && java-pkg_doexamples examples
67 + einstalldocs
68 +}