Contents of /trunk/core/junit/junit-4.8.2-r4.smage2
Parent Directory | Revision Log
Revision 10527 -
(show annotations)
(download)
Tue Jan 24 15:45:17 2012 UTC (12 years, 4 months ago) by niro
File size: 827 byte(s)
Tue Jan 24 15:45:17 2012 UTC (12 years, 4 months ago) by niro
File size: 827 byte(s)
auto added: ver bump to 4.8.2-r4
1 | # $Id$ |
2 | |
3 | PNAME="junit" |
4 | PVER="4.8.2" |
5 | PBUILD="r4" |
6 | |
7 | PCAT="dev-java" |
8 | |
9 | DESCRIPTION="JUnit is a simple framework to write repeatable tests." |
10 | HOMEPAGE="http://junit.org/" |
11 | |
12 | DEPEND=">= virtual/java" |
13 | SDEPEND=">= virtual/java-jdk |
14 | >= dev-java/apache-ant-1.8.2 |
15 | >= app-arch/unzip-5" |
16 | |
17 | # commit id |
18 | COID="a30e87b" |
19 | SRCFILE="${PNAME}-${PVER}.gz" |
20 | SRCDIR="${BUILDDIR}/KentBeck-${PNAME}-${COID}" |
21 | |
22 | sminclude java |
23 | |
24 | SRC_URI=( |
25 | http://github.com/KentBeck/junit/tarball/r${PVER} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | ) |
28 | |
29 | UP2DATE="updatecmd_sourceforge ${PNAME}" |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | } |
35 | |
36 | src_compile() |
37 | { |
38 | cd ${SRCDIR} |
39 | ant jars || die |
40 | } |
41 | |
42 | src_install() |
43 | { |
44 | cd ${SRCDIR} |
45 | |
46 | minstalljar junit${PVER}/junit.jar || die |
47 | minstalljar junit${PVER}/junit-dep.jar || die |
48 | minstalldocs README.html cpl-v10.html doc/ReleaseNotes${PVER}.txt *.txt || die |
49 | } |