blob: 5214715cd7ce30720441d730e043d54c9568c11e [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
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08009SRC_URI = "ftp://ftp.invisible-island.net/byacc/byacc-${PV}.tgz \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050010 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}