1 |
commit: e64ce54652dcaa991bb18432b6aba9ba92a4025d |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 1 23:35:51 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 1 23:36:17 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e64ce546 |
7 |
|
8 |
dev-java/servletapi: EAPI 6 bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
11 |
|
12 |
dev-java/servletapi/servletapi-2.2-r4.ebuild | 41 ++++++++++++++++++++++++++++ |
13 |
1 file changed, 41 insertions(+) |
14 |
|
15 |
diff --git a/dev-java/servletapi/servletapi-2.2-r4.ebuild b/dev-java/servletapi/servletapi-2.2-r4.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..0cbcbc06582 |
18 |
--- /dev/null |
19 |
+++ b/dev-java/servletapi/servletapi-2.2-r4.ebuild |
20 |
@@ -0,0 +1,41 @@ |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+JAVA_PKG_IUSE="doc source" |
27 |
+ |
28 |
+inherit java-pkg-2 java-ant-2 |
29 |
+ |
30 |
+DESCRIPTION="Servlet API 2.2 from jakarta.apache.org" |
31 |
+HOMEPAGE="http://jakarta.apache.org/" |
32 |
+SRC_URI="mirror://gentoo/${P}-20021101.tar.gz" |
33 |
+ |
34 |
+DEPEND=" |
35 |
+ >=virtual/jdk-1.6 |
36 |
+ dev-java/ant-core:0 |
37 |
+ source? ( app-arch/zip )" |
38 |
+ |
39 |
+RDEPEND=" |
40 |
+ >=virtual/jre-1.6" |
41 |
+ |
42 |
+KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris" |
43 |
+LICENSE="Apache-1.1" |
44 |
+SLOT="2.2" |
45 |
+IUSE="doc" |
46 |
+ |
47 |
+S="${WORKDIR}/jakarta-servletapi-src" |
48 |
+ |
49 |
+EANT_BUILD_TARGET="all" |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ default |
53 |
+ sed -i 's/compile,javadoc/compile/' build.xml || die "sed failed" |
54 |
+} |
55 |
+ |
56 |
+src_install() { |
57 |
+ einstalldocs |
58 |
+ java-pkg_dojar ../dist/servletapi/lib/servlet.jar |
59 |
+ use doc && java-pkg_dojavadoc ../build/servletapi/docs/api |
60 |
+ use source && java-pkg_dosrc src/share/javax |
61 |
+} |