blob: a70fce862501dbe02c0163a583a4fbc6d8503ceb (
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
27
28
29
30
|
DESCRIPTION = "ANother Tool for Language Recognition, (formerly PCCTS) is a \
language tool that provides a framework for constructing recognizers, \
compilers, and translators from grammatical descriptions containing \
Java, C#, C++, or Python actions."
LICENSE = "PD"
PRIORITY = "optional"
SECTION = "devel"
# DEPENDS += "virtual/java"
RDEPENDS_${PN} += "java-virtual-machine"
PR = "r1"
SRC_URI = "http://www.antlr.org/download/antlr-${PV}.tar.gz \
file://install.patch"
S = "${WORKDIR}/antlr-${PV}"
inherit autotools
EXTRA_OECONF += "--disable-java --enable-cxx \
--disable-python --disable-csharp \
--disable-verbose --disable-examples"
do_configure () {
if [ ! -e acinclude.m4 ]; then
mv aclocal.m4 acinclude.m4
fi
autotools_do_configure
}
SRC_URI[md5sum] = "1ef201f29283179c8e5ab618529cac78"
SRC_URI[sha256sum] = "744d8f3a8206fbc45a5558d92163d5ef7e5e0cc0700283bb6a617fb1201629f9"
|