diff options
author | Robert Schuster <robertschuster@fsfe.org> | 2009-09-18 14:07:14 +0200 |
---|---|---|
committer | Robert Schuster <robertschuster@fsfe.org> | 2009-09-18 14:07:14 +0200 |
commit | 9360aebebce14938c89e5f7f9c411573f541d899 (patch) | |
tree | 726cf287bdce6a68fb9bd802a24f55e5fab2bbac /recipes/classpathx/gnujaf_1.1.1.bb | |
parent | e90cec1338a3a60cbabaff3590c503edd0e10033 (diff) |
gnujaf 1.1.1: New recipe (from Jalimo SVN).
gnujaf-native 1.1.1: Dito.
gnumail 1.1.2: Dito.
gnumail-native 1.1.2: Dito.
Diffstat (limited to 'recipes/classpathx/gnujaf_1.1.1.bb')
-rw-r--r-- | recipes/classpathx/gnujaf_1.1.1.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes/classpathx/gnujaf_1.1.1.bb b/recipes/classpathx/gnujaf_1.1.1.bb new file mode 100644 index 0000000000..1ae47172e7 --- /dev/null +++ b/recipes/classpathx/gnujaf_1.1.1.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "Provides a mean to type data and locate components suitable for performing various kinds of action on it." +LICENSE = "GPL + library exception" +AUTHOR = "GNU ClasspathX" + +SRC_URI = "\ + http://ftp.gnu.org/gnu/classpathx/activation-${PV}.tar.gz \ + file://datadir_java.patch;patch=1 \ + " + +# java-library must be last (it defines do_stage) +inherit autotools java-library + +S = "${WORKDIR}/activation-${PV}" + +DEPENDS = "fastjar-native" + +export JAVAC = "javac" + +# Fake javadoc +export JAVADOC = "true" + +JARFILENAME = "activation-${PV}.jar" +ALTJARFILENAMES = "activation.jar gnujaf.jar" + +do_compile() { + mkdir -p build + + javac -sourcepath source -d build `find source -name "*.java"` + + fastjar -C build -c -f ${JARFILENAME} . +} + +do_install() { + java_install +} |