1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 JAVA_PKG_IUSE="doc source test"
7 inherit java-pkg-2 java-ant-2
11 DESCRIPTION="Commons components to manipulate core java classes"
12 HOMEPAGE="http://commons.apache.org/lang/"
13 SRC_URI="mirror://apache/commons/lang/source/${MY_P}-src.tar.gz"
15 DEPEND=">=virtual/jdk-1.5
16 test? ( dev-java/ant-junit:0 )"
18 RDEPEND=">=virtual/jre-1.5"
22 KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris"
24 S="${WORKDIR}/${MY_P}-src"
26 JAVA_ANT_ENCODING="ISO-8859-1"
29 java-pkg_newjar target/${MY_P}.jar ${PN}.jar
31 dodoc RELEASE-NOTES.txt NOTICE.txt
33 use doc && java-pkg_dojavadoc target/apidocs
34 use source && java-pkg_dosrc src/main/java/*