summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/byacc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/byacc')
-rw-r--r--meta/recipes-extended/byacc/byacc.inc19
-rw-r--r--meta/recipes-extended/byacc/byacc_20140422.bb11
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 @@
1SUMMARY = "Berkeley LALR Yacc parser generator"
2DESCRIPTION = "A parser generator utility that reads a grammar specification from a file and generates an LR(1) \
3parser for it. The parsers consist of a set of LALR(1) parsing tables and a driver routine written in the C \
4programming language."
5SECTION = "devel"
6LICENSE = "PD"
7
8SRC_URI = "ftp://invisible-island.net/byacc/byacc-${PV}.tgz"
9EXTRA_OECONF += "--program-transform-name='s,^,b,'"
10
11BBCLASSEXTEND = "native"
12
13inherit autotools
14
15do_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
6LICENSE = "PD"
7LIC_FILES_CHKSUM = "file://package/debian/copyright;md5=f186cf0d59bac042b75830396ec389a3"
8require byacc.inc
9
10SRC_URI[md5sum] = "e7c13c5e207dc05eab9145cc9972397b"
11SRC_URI[sha256sum] = "2f104c7e200dd86844d5f3521e12cb55fc48a9c3da3480a65fde2ca8c053bdcc"