summaryrefslogtreecommitdiff
path: root/recipes/jdepend/jdepend_2.9.bb
blob: eff7822478ec8a803ff5e172af2ee00eda79ca62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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} .
}

SRC_URI[md5sum] = "4e979c0dda766ba1dd719905ca975c7b"
SRC_URI[sha256sum] = "202de62e2f3d0667cc464720d5897d0ccb29767ec24e0a4d4c5bd6c4d37425a4"