1 |
commit: 04debe232a5f432b5c669a052a615c4245db41f2 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 8 09:51:19 2015 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 8 10:16:12 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04debe23 |
7 |
|
8 |
dev-java/commons-lang: EAPI 5 bump. |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
12 |
|
13 |
dev-java/commons-lang/commons-lang-2.0-r3.ebuild | 34 ++++++++++++++++++++++++ |
14 |
1 file changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-java/commons-lang/commons-lang-2.0-r3.ebuild b/dev-java/commons-lang/commons-lang-2.0-r3.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..ef47b3c |
19 |
--- /dev/null |
20 |
+++ b/dev-java/commons-lang/commons-lang-2.0-r3.ebuild |
21 |
@@ -0,0 +1,34 @@ |
22 |
+# Copyright 1999-2015 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Id$ |
25 |
+ |
26 |
+EAPI="5" |
27 |
+JAVA_PKG_IUSE="doc source test" |
28 |
+ |
29 |
+inherit java-pkg-2 java-ant-2 |
30 |
+ |
31 |
+DESCRIPTION="Jakarta components to manipulate core java classes" |
32 |
+HOMEPAGE="http://commons.apache.org/lang/" |
33 |
+SRC_URI="mirror://apache/jakarta/commons/lang/source/${P}-src.tar.gz" |
34 |
+DEPEND=">=virtual/jdk-1.4 |
35 |
+ test? ( dev-java/ant-junit )" |
36 |
+RDEPEND=">=virtual/jre-1.4" |
37 |
+LICENSE="Apache-1.1" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
40 |
+IUSE="" |
41 |
+ |
42 |
+S="${WORKDIR}/${P}-src" |
43 |
+ |
44 |
+java_prepare() { |
45 |
+ java-pkg_clean |
46 |
+} |
47 |
+ |
48 |
+src_install() { |
49 |
+ java-pkg_newjar dist/${P}.jar ${PN}.jar |
50 |
+ |
51 |
+ dodoc RELEASE-NOTES.txt || die |
52 |
+ java-pkg_dohtml DEVELOPERS-GUIDE.html PROPOSAL.html STATUS.html |
53 |
+ use doc && java-pkg_dojavadoc dist/docs/api |
54 |
+ use source && java-pkg_dosrc src/java/* |
55 |
+} |