# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: William McArthur # $Header $ NP="junit3.7" 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" # This may actually need jdk-1.3 DEPEND="virtual/jdk" src_unpack() { jar -xf ${DISTDIR}/${NP}.zip } src_install () { dojar junit.jar src.jar dohtml -r README.html doc javadoc dodir /etc/env.d echo "CLASSPATH=/usr/share/junit/lib/junit.jar" > ${D}/etc/env.d/70junit }