diff options
Diffstat (limited to 'meta/recipes-extended/byacc')
-rw-r--r-- | meta/recipes-extended/byacc/byacc.inc | 19 | ||||
-rw-r--r-- | meta/recipes-extended/byacc/byacc_20140422.bb | 11 |
2 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-extended/byacc/byacc.inc b/meta/recipes-extended/byacc/byacc.inc new file mode 100644 index 0000000000..fae9e2504a --- /dev/null +++ b/meta/recipes-extended/byacc/byacc.inc | |||
@@ -0,0 +1,19 @@ | |||
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 | EXTRA_OECONF += "--program-transform-name='s,^,b,'" | ||
10 | |||
11 | BBCLASSEXTEND = "native" | ||
12 | |||
13 | inherit autotools | ||
14 | |||
15 | do_configure() { | ||
16 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} | ||
17 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} | ||
18 | oe_runconf | ||
19 | } | ||
diff --git a/meta/recipes-extended/byacc/byacc_20140422.bb b/meta/recipes-extended/byacc/byacc_20140422.bb new file mode 100644 index 0000000000..cf57738bea --- /dev/null +++ b/meta/recipes-extended/byacc/byacc_20140422.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | # Sigh. This is one of those places where everyone licenses it differently. Someone | ||
2 | # even apply UCB to it (Free/Net/OpenBSD). The maintainer states that: | ||
3 | # "I've found no reliable source which states that byacc must bear a UCB copyright." | ||
4 | # Setting to PD as this is what the upstream has it as. | ||
5 | |||
6 | LICENSE = "PD" | ||
7 | LIC_FILES_CHKSUM = "file://package/debian/copyright;md5=f186cf0d59bac042b75830396ec389a3" | ||
8 | require byacc.inc | ||
9 | |||
10 | SRC_URI[md5sum] = "e7c13c5e207dc05eab9145cc9972397b" | ||
11 | SRC_URI[sha256sum] = "2f104c7e200dd86844d5f3521e12cb55fc48a9c3da3480a65fde2ca8c053bdcc" | ||