summaryrefslogtreecommitdiffstats
path: root/recipes/obsolete/antlr/antlr_2.7.5.bb
blob: f61b3a0b87a9dd82a452f7182d903d8b2a968bc8 (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 = "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 += "java-virtual-machine"

SRC_URI = "http://www.antlr.org/download/antlr-${PV}.tar.gz \
	   file://install.patch;patch=1"
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
}