diff options
-rw-r--r-- | recipes/jdepend/jdepend-native_2.9.bb | 4 | ||||
-rw-r--r-- | recipes/jdepend/jdepend_2.9.bb | 20 |
2 files changed, 24 insertions, 0 deletions
diff --git a/recipes/jdepend/jdepend-native_2.9.bb b/recipes/jdepend/jdepend-native_2.9.bb new file mode 100644 index 0000000000..dc6251746e --- /dev/null +++ b/recipes/jdepend/jdepend-native_2.9.bb @@ -0,0 +1,4 @@ +require jdepend_${PV}.bb + +inherit java-native + diff --git a/recipes/jdepend/jdepend_2.9.bb b/recipes/jdepend/jdepend_2.9.bb new file mode 100644 index 0000000000..fc70eac442 --- /dev/null +++ b/recipes/jdepend/jdepend_2.9.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Design quality metrics generator for each Java" + +# see http://www.clarkware.com/software/license.txt +LICENSE = "BSD" + +HOMEPAGE = "http://clarkware.com/software/JDepend.html" + +SRC_URI = "http://www.clarkware.com/software/jdepend-${PV}.zip" + +inherit java-library + +DEPENDS = "fastjar-native" + +do_compile() { + mkdir -p build + + javac -sourcepath src -d build `find src -name "*.java"` + + fastjar -C build -c -f ${JARFILENAME} . +} |