diff options
| author | Henning Heinold <heinold@inf.fu-berlin.de> | 2011-11-12 20:58:34 +0100 |
|---|---|---|
| committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2011-11-26 23:41:44 +0100 |
| commit | 57e069cde6617f00ca8834a82c6f360af43d5067 (patch) | |
| tree | 48cbe15e96d217c45acfa64b0c13aad8c6424980 /recipes-core/junit/junit4_4.3.1.bb | |
| download | meta-java-57e069cde6617f00ca8834a82c6f360af43d5067.tar.gz | |
meta-java: initial commit
* taken over mostly stuff from oe classic
* cleaned up recipes
* added license checksums
* bump icedtea6-native to 1.8.11
* use jamvm from git as native
Diffstat (limited to 'recipes-core/junit/junit4_4.3.1.bb')
| -rw-r--r-- | recipes-core/junit/junit4_4.3.1.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-core/junit/junit4_4.3.1.bb b/recipes-core/junit/junit4_4.3.1.bb new file mode 100644 index 0000000..bed0e42 --- /dev/null +++ b/recipes-core/junit/junit4_4.3.1.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | DESCRIPTION = "JUnit is a testing framework for Java" | ||
| 2 | LICENSE = "CPL" | ||
| 3 | AUTHOR = "junit.org" | ||
| 4 | HOMEPAGE = "http://www.junit.org" | ||
| 5 | |||
| 6 | SRC_URI = "http://downloads.sourceforge.net/junit/junit-${PV}-src.jar" | ||
| 7 | |||
| 8 | S = "${WORKDIR}" | ||
| 9 | |||
| 10 | inherit java-library | ||
| 11 | |||
| 12 | DEPENDS = "fastjar-native" | ||
| 13 | |||
| 14 | do_compile() { | ||
| 15 | mkdir -p build | ||
| 16 | |||
| 17 | # Workaround for jamvm. | ||
| 18 | bcp=${STAGING_DATADIR_NATIVE}/classpath/glibj.zip | ||
| 19 | |||
| 20 | javac -source 5.0 -bootclasspath $bcp -sourcepath . -d build `find . -name "*.java"` | ||
| 21 | |||
| 22 | fastjar -C build -c -f ${JARFILENAME} . | ||
| 23 | } | ||
| 24 | |||
| 25 | SRC_URI[md5sum] = "170f9645a41398388e8553b32ff5f630" | ||
| 26 | SRC_URI[sha256sum] = "57d1e49ee3fd0dbdc0a68a852925c973af5c30b1725b6aa63bfb42df6f7c3349" | ||
| 27 | |||
| 28 | NATIVE_INSTALL_WORKS = "1" | ||
| 29 | BBCLASSEXTEND = "native" | ||
