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/classpathx/gnujaf_1.1.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/classpathx/gnujaf_1.1.1.bb')
-rw-r--r-- | recipes-core/classpathx/gnujaf_1.1.1.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-core/classpathx/gnujaf_1.1.1.bb b/recipes-core/classpathx/gnujaf_1.1.1.bb new file mode 100644 index 0000000..2c055bb --- /dev/null +++ b/recipes-core/classpathx/gnujaf_1.1.1.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | DESCRIPTION = "Provides a mean to type data and locate components suitable for performing various kinds of action on it." | ||
2 | AUTHOR = "GNU ClasspathX" | ||
3 | LICENSE = "GPL+libraryexception" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" | ||
5 | |||
6 | SRC_URI = "http://ftp.gnu.org/gnu/classpathx/activation-${PV}.tar.gz \ | ||
7 | file://datadir_java.patch \ | ||
8 | " | ||
9 | |||
10 | inherit autotools java-library | ||
11 | |||
12 | S = "${WORKDIR}/activation-${PV}" | ||
13 | |||
14 | export JAVAC = "javac" | ||
15 | |||
16 | # Fake javadoc | ||
17 | export JAVADOC = "true" | ||
18 | |||
19 | JARFILENAME = "activation-${PV}.jar" | ||
20 | ALTJARFILENAMES = "activation.jar gnujaf.jar" | ||
21 | |||
22 | do_compile() { | ||
23 | mkdir -p build | ||
24 | |||
25 | javac -sourcepath source -d build `find source -name "*.java"` | ||
26 | |||
27 | fastjar -C build -c -f ${JARFILENAME} . | ||
28 | } | ||
29 | |||
30 | SRC_URI[md5sum] = "de50d7728e8140eb404f2b4554321f8c" | ||
31 | SRC_URI[sha256sum] = "b1b5ef560d30fcb11fbf537246857d14110ce4eb2b200d4c54690472305d87b7" | ||
32 | |||
33 | NATIVE_INSTALL_WORKS = "1" | ||
34 | BBCLASSEXTEND = "native" | ||
35 | |||