blob: 9bdafd244047c1eb6a2050f4cd6e2497e62b1b3e [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001SUMMARY = "Berkeley LALR Yacc parser generator"
2HOMEPAGE = "http://invisible-island.net/byacc/"
3DESCRIPTION = "A parser generator utility that reads a grammar specification from a file and generates an LR(1) \
4parser for it. The parsers consist of a set of LALR(1) parsing tables and a driver routine written in the C \
5programming language."
6SECTION = "devel"
7LICENSE = "PD"
8
9SRC_URI = "ftp://invisible-island.net/byacc/byacc-${PV}.tgz \
10 file://byacc-open.patch \
11 file://0001-byacc-do-not-reorder-CC-and-CFLAGS.patch"
12
13EXTRA_OECONF += "--program-transform-name='s,^,b,'"
14
15BBCLASSEXTEND = "native"
16
17inherit autotools
18
19do_configure() {
20 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
21 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
22 oe_runconf
23}