summaryrefslogtreecommitdiff
path: root/recipes/antlr/antlr_2.7.7.bb
blob: 3dbcea756909bf3f4bd593a0e8304347b97ffbd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "Framework for constructing recognizers, interpreters, compilers, and translators"
# see http://www.antlr2.org/license.html
LICENSE = "Public Domain"
HOMEPAGE = "http://www.antlr2.org"

SRC_URI = "http://www.antlr2.org/download/${BP}.tar.gz"

inherit java-library

do_compile() {
  mkdir -p build

  javac -sourcepath . -d build `find antlr -name "*.java"`

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

SRC_URI[md5sum] = "01cc9a2a454dd33dcd8c856ec89af090"
SRC_URI[sha256sum] = "853aeb021aef7586bda29e74a6b03006bcb565a755c86b66032d8ec31b67dbb9"