summaryrefslogtreecommitdiff
path: root/recipes/jdepend/jdepend_2.9.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/jdepend/jdepend_2.9.bb')
-rw-r--r--recipes/jdepend/jdepend_2.9.bb20
1 files changed, 20 insertions, 0 deletions
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} .
+}