summaryrefslogtreecommitdiff
path: root/recipes/antlr/antlr_2.7.7.bb
blob: 431b7b5b4faaa6a55d53382722ac9e3f1f0c60ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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} .
}