summaryrefslogtreecommitdiff
path: root/packages/jikes/jikes-initial.bb
blob: 701cfe1519fd62f5126f9a981202d1bdd4db980a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SUMMARY = "Initial Java 1.4-compatible (and not higher) compiler"

DEPENDS = "virtual/javac-native classpath-initial"

SRC_URI = ""

S = "${WORKDIR}"

inherit native

do_configure() {
 :
}

do_compile() {
  echo "#!/bin/sh" > jikes-initial
  echo "${STAGING_BINDIR_NATIVE}/jikes -bootclasspath ${STAGING_DATADIR_NATIVE}/classpath-initial/glibj.zip \$@" >> jikes-initial
}

do_stage() {
  install -d ${STAGING_BINDIR}
  install -m 0755 jikes-initial ${STAGING_BINDIR}
}