aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Heinold <h.heinold@tarent.de>2010-07-12 15:56:25 +0200
committerHenning Heinold <h.heinold@tarent.de>2010-07-26 15:35:20 +0200
commit1fabe54f9dc7a695a7e018509db7924e3a0b53df (patch)
tree4bbc978fe041b5e74b35caa5ee998259ee165772
parenteb87f27da45b9fc1541d1b08bf2f5d89426cb98b (diff)
downloadopenembedded-1fabe54f9dc7a695a7e018509db7924e3a0b53df.zip
openembedded-1fabe54f9dc7a695a7e018509db7924e3a0b53df.tar.gz
openembedded-1fabe54f9dc7a695a7e018509db7924e3a0b53df.tar.bz2
jdepend: backport from openembedded-dev
* checksum already in conf/checksums.ini Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
-rw-r--r--recipes/jdepend/jdepend-native_2.9.bb4
-rw-r--r--recipes/jdepend/jdepend_2.9.bb20
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 0000000..dc62517
--- /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 0000000..fc70eac
--- /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} .
+}