diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-22 20:12:30 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-22 20:12:30 +0000 |
commit | a0022c205172dee46412934fe906390d30cb9a67 (patch) | |
tree | 2d5fb1b02dbfe5e5c16a9dc9fd767dcb03ec2711 /dev-java/junit | |
parent | stable on mips (diff) | |
download | gentoo-2-a0022c205172dee46412934fe906390d30cb9a67.tar.gz gentoo-2-a0022c205172dee46412934fe906390d30cb9a67.tar.bz2 gentoo-2-a0022c205172dee46412934fe906390d30cb9a67.zip |
Add java-ant-2.
(Portage version: 2.1.1_pre3-r3)
Diffstat (limited to 'dev-java/junit')
-rw-r--r-- | dev-java/junit/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/junit/files/digest-junit-3.8.1-r3 | 3 | ||||
-rw-r--r-- | dev-java/junit/junit-3.8.1-r3.ebuild | 41 |
3 files changed, 51 insertions, 1 deletions
diff --git a/dev-java/junit/ChangeLog b/dev-java/junit/ChangeLog index bbae9685dfba..a88589561a79 100644 --- a/dev-java/junit/ChangeLog +++ b/dev-java/junit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/junit # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/ChangeLog,v 1.22 2006/07/21 01:57:02 nichoj Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/ChangeLog,v 1.23 2006/07/22 20:12:30 nelchael Exp $ + +*junit-3.8.1-r3 (22 Jul 2006) + + 22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> -junit-3.8.1-r2.ebuild, + +junit-3.8.1-r3.ebuild: + Add java-ant-2. *junit-3.8.1-r2 (21 Jul 2006) diff --git a/dev-java/junit/files/digest-junit-3.8.1-r3 b/dev-java/junit/files/digest-junit-3.8.1-r3 new file mode 100644 index 000000000000..973034ec1d10 --- /dev/null +++ b/dev-java/junit/files/digest-junit-3.8.1-r3 @@ -0,0 +1,3 @@ +MD5 5110326e4b7f7497dfa60ede4b626751 junit3.8.1.zip 441665 +RMD160 d9f63f651dd0954ffca8975a8bcf2e53c6b14574 junit3.8.1.zip 441665 +SHA256 884953028bc3d2d554f99b5f627a84d7f92a42754560c63829b0ab732ff9bab8 junit3.8.1.zip 441665 diff --git a/dev-java/junit/junit-3.8.1-r3.ebuild b/dev-java/junit/junit-3.8.1-r3.ebuild new file mode 100644 index 000000000000..b82988ec1117 --- /dev/null +++ b/dev-java/junit/junit-3.8.1-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-3.8.1-r3.ebuild,v 1.1 2006/07/22 20:12:30 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 + +MY_P=${P/-/} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Simple framework to write repeatable tests" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip" +HOMEPAGE="http://www.junit.org/" +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~ppc64" +IUSE="doc source" +DEPEND=">=virtual/jdk-1.3 + source? ( app-arch/zip ) + >=dev-java/ant-core-1.4 + >=app-arch/unzip-5.50-r1" +RDEPEND=">=virtual/jre-1.3" + +src_unpack() { + unpack ${A} + cd ${S} + unzip src.jar || die + rm -f junit.jar +} + +src_compile() { + eant dist +} + +src_install() { + use source && java-pkg_dosrc junit + cd ${MY_P} + java-pkg_dojar junit.jar + dodir /usr/share/ant-core/lib + dosym /usr/share/junit/lib/junit.jar /usr/share/ant-core/lib/ + java-pkg_dohtml -r README.html cpl-v10.html + use doc && java-pkg_dohtml -r doc javadoc +} |