summaryrefslogtreecommitdiff
path: root/recipes/jacl/jacl_1.4.1.bb
blob: 9729293dc70dbea27e9f2061ba8b5b9ed2ff7590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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} .
}

SRC_URI[md5sum] = "a7ec8300e8933164e854460c73ac6269"
SRC_URI[sha256sum] = "0edac0a7d2253c29c44ccc92427fa9ad4ee81b6c82142e417f72399a8584b749"

NATIVE_INSTALL_WORKS = "1"
BBCLASSEXTEND = "native"