Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Berkeley LALR Yacc parser generator" |
| 2 | DESCRIPTION = "A parser generator utility that reads a grammar specification from a file and generates an LR(1) \ |
| 3 | parser for it. The parsers consist of a set of LALR(1) parsing tables and a driver routine written in the C \ |
| 4 | programming language." |
| 5 | SECTION = "devel" |
| 6 | LICENSE = "PD" |
| 7 | |
| 8 | SRC_URI = "ftp://invisible-island.net/byacc/byacc-${PV}.tgz \ |
| 9 | file://byacc-open.patch" |
| 10 | |
| 11 | EXTRA_OECONF += "--program-transform-name='s,^,b,'" |
| 12 | |
| 13 | BBCLASSEXTEND = "native" |
| 14 | |
| 15 | inherit autotools |
| 16 | |
| 17 | do_configure() { |
| 18 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} |
| 19 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} |
| 20 | oe_runconf |
| 21 | } |