diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2016-03-05 19:41:08 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2016-03-05 19:41:08 +0300 |
commit | bc0c7e7f98f8fb553eb5bd7fbb08b007c67174bd (patch) | |
tree | 6974dbb239168342b0a32a4d5af38302cba00a36 /dev-java | |
parent | f70ca0b442799e9883b87ec08e8ca2fbe7c6d327 (diff) | |
download | gentoo-bc0c7e7f98f8fb553eb5bd7fbb08b007c67174bd.tar.gz gentoo-bc0c7e7f98f8fb553eb5bd7fbb08b007c67174bd.tar.xz |
dev-java/ws-commons-util: Drop old
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/ws-commons-util/ws-commons-util-1.0.1.ebuild | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/dev-java/ws-commons-util/ws-commons-util-1.0.1.ebuild b/dev-java/ws-commons-util/ws-commons-util-1.0.1.ebuild deleted file mode 100644 index a49340d72bf..00000000000 --- a/dev-java/ws-commons-util/ws-commons-util-1.0.1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="1" -JAVA_PKG_IUSE="source test" -inherit java-pkg-2 - -DESCRIPTION="Utility classes that allow high performance XML processing based on SAX" -HOMEPAGE="http://ws.apache.org/commons/util/" -SRC_URI="mirror://apache/ws/commons/util/sources/${P}-src.tar.gz" -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND=">=virtual/jdk-1.4 - test? ( dev-java/junit:0 )" - -RDEPEND=">=virtual/jre-1.4" - -src_compile() { - mkdir -p bin || die - ejavac -d bin `find src/main -name "*.java" || die` - `java-config -j` cvf "${PN}.jar" -C bin . || die -} - -src_install() { - java-pkg_dojar "${PN}.jar" - use source && java-pkg_dosrc src/main/java/* -} - -src_test() { - local class files=`find src/test -name "*.java" || die` - ejavac -cp bin:`java-pkg_getjars junit` -d bin ${files} - - for class in ${files} ; do - class=${class#src/test/java/} - class=${class%.java} - ejunit -cp bin ${class//\//.} - done -} |