summaryrefslogtreecommitdiff
path: root/recipes/jacl/jacl_1.4.1.bb
blob: 7c66c3ef7c7214912c3b8089462235f46d3c2fe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DESCRIPTION = "Tcl interpreter for Java"
LICENSES = "BSD"

HOMEPAGE = "http://sourceforge.net/projects/tcljava"

SRC_URI = "http://downloads.sourceforge.net/tcljava/jacl${PV}.tar.gz"

inherit java-library

S = "${WORKDIR}/jacl${PV}"

DEPENDS = "fastjar-native"

do_compile() {
  mkdir -p build

  javac -sourcepath src/tcljava:src/jacl -d build `find src/tcljava src/jacl -name "*.java"`

  fastjar -C build -c -f ${JARFILENAME} .
}