diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-10-14 17:46:44 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-10-14 17:46:44 +0000 |
commit | 38c94bf28df23ad68a0e9a841ae9d0279f84de11 (patch) | |
tree | 2a8535c4fa3a163df961613f81229e7199bedf4e /dev-java/junit/junit-3.8.1.ebuild | |
parent | fix bug when using make -j5 or more (diff) | |
download | gentoo-2-38c94bf28df23ad68a0e9a841ae9d0279f84de11.tar.gz gentoo-2-38c94bf28df23ad68a0e9a841ae9d0279f84de11.tar.bz2 gentoo-2-38c94bf28df23ad68a0e9a841ae9d0279f84de11.zip |
New upstream version.
Diffstat (limited to 'dev-java/junit/junit-3.8.1.ebuild')
-rw-r--r-- | dev-java/junit/junit-3.8.1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-java/junit/junit-3.8.1.ebuild b/dev-java/junit/junit-3.8.1.ebuild new file mode 100644 index 000000000000..4854d974f10b --- /dev/null +++ b/dev-java/junit/junit-3.8.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-3.8.1.ebuild,v 1.1 2002/10/14 17:46:44 karltk Exp $ + +NP=${P/-/} +S=${WORKDIR}/${NP} +DESCRIPTION="JUnit is a simple framework to write repeatable tests." +SRC_URI="http://download.sourceforge.net/junit/${NP}.zip" +HOMEPAGE="http://JUnit.org" +DEPEND=">=virtual/jdk-1.3" +RDEPEND="$DEPEND" +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="~x86" + +src_unpack() { + unpack ${A} + cd ${S} + unzip src.jar +} + +src_compile() { + rm junit.jar + ant +} + +src_install () { + cd ${NP} + dojar junit.jar + dodir /usr/share/ant/lib + dosym /usr/share/junit/lib/junit.jar /usr/share/ant/lib/ + dohtml -r README.html cpl-v10.html doc javadoc +} + |