diff options
| author | Ross Burton <ross.burton@arm.com> | 2023-12-21 10:41:21 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-12-21 08:20:34 -0800 |
| commit | c3ac5cf180f960dbbf6e3a3e76d6d44094873c72 (patch) | |
| tree | 56999f131114bc0ce1c0368e30e94ac972776b9a /meta-oe/recipes-devtools/lemon | |
| parent | b7d5acb3523c95054a0431a5291866d7b5bde5a2 (diff) | |
| download | meta-openembedded-c3ac5cf180f960dbbf6e3a3e76d6d44094873c72.tar.gz | |
lemon: upgrade to 3.44.2
Lemon is packaged as part of sqlite, and sqlite 3.7.3 was released back
in 2010[1].
As the small source tarballs no longer include the tools, fetch the
sqlite github mirror instead.
Don't bother installing a pretty minimal manpage, as very few projects
use lemon (sqlite itself, and libpbnjson).
[1] https://www.sqlite.org/releaselog/3_7_3.html
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/lemon')
| -rw-r--r-- | meta-oe/recipes-devtools/lemon/files/lemon.1 | 63 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/lemon/lemon.inc | 25 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb | 24 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb | 7 |
4 files changed, 24 insertions, 95 deletions
diff --git a/meta-oe/recipes-devtools/lemon/files/lemon.1 b/meta-oe/recipes-devtools/lemon/files/lemon.1 deleted file mode 100644 index 914ee07013..0000000000 --- a/meta-oe/recipes-devtools/lemon/files/lemon.1 +++ /dev/null | |||
| @@ -1,63 +0,0 @@ | |||
| 1 | .Dd 2002-10-04 | ||
| 2 | .Dt LEMON 1 | ||
| 3 | .Os "Debian GNU/Linux" | ||
| 4 | .\" Manual page created by Guus Sliepen <guus@debian.org> | ||
| 5 | .Sh NAME | ||
| 6 | .Nm lemon | ||
| 7 | .Nd The Lemon Parser Generator | ||
| 8 | .Sh SYNOPSIS | ||
| 9 | .Nm | ||
| 10 | .Op Fl bcgmqsx | ||
| 11 | .Ar input | ||
| 12 | .Sh DESCRIPTION | ||
| 13 | .Nm | ||
| 14 | is an LALR(1) parser generator for C or C++. | ||
| 15 | It does the same job as bison and yacc. | ||
| 16 | But | ||
| 17 | .Nm | ||
| 18 | is not another bison or yacc clone. | ||
| 19 | It uses a different grammar syntax which is designed to reduce the number of coding errors. | ||
| 20 | .Nm | ||
| 21 | also uses a more sophisticated parsing engine that is faster than yacc and bison | ||
| 22 | and which is both reentrant and thread-safe. | ||
| 23 | Furthermore, | ||
| 24 | .Nm | ||
| 25 | implements features that can be used to eliminate resource leaks, | ||
| 26 | making is suitable for use in long-running programs such as graphical user interfaces or embedded controllers. | ||
| 27 | .Pp | ||
| 28 | .Nm | ||
| 29 | will read the grammer from | ||
| 30 | .Ar input | ||
| 31 | and write out a parser for that grammar in the C language. | ||
| 32 | .Sh OPTIONS | ||
| 33 | .Bl -tag -width indent | ||
| 34 | .It Fl b | ||
| 35 | Print only the basis in report. | ||
| 36 | .It Fl c | ||
| 37 | Don't compress the action table. | ||
| 38 | .It Fl g | ||
| 39 | Print grammar without actions. | ||
| 40 | .It Fl m | ||
| 41 | Output a makeheaders compatible file. | ||
| 42 | .It Fl q | ||
| 43 | (Quiet) Don't print the report file. | ||
| 44 | .It Fl s | ||
| 45 | Print parser stats to standard output. | ||
| 46 | .It Fl x | ||
| 47 | Print the version number. | ||
| 48 | .El | ||
| 49 | .Sh FILES | ||
| 50 | .Bl -tag -width indent | ||
| 51 | .It Pa /usr/share/lemon/lempar.c | ||
| 52 | Driver template for the | ||
| 53 | .Nm | ||
| 54 | parser generator. | ||
| 55 | .El | ||
| 56 | .Sh AUTHOR | ||
| 57 | .Nm | ||
| 58 | has been written by | ||
| 59 | .An D. Richard Hipp Aq drh@hwaci.com . | ||
| 60 | .Pp | ||
| 61 | This manual page was written by | ||
| 62 | .An Guus Sliepen Aq guus@debian.org | ||
| 63 | for the Debian GNU/Linux system. | ||
diff --git a/meta-oe/recipes-devtools/lemon/lemon.inc b/meta-oe/recipes-devtools/lemon/lemon.inc deleted file mode 100644 index 57b9fb710e..0000000000 --- a/meta-oe/recipes-devtools/lemon/lemon.inc +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | DESCRIPTION = "The Lemon Parser Generator" | ||
| 2 | HOMEPAGE = "http://www.hwaci.com/sw/lemon/" | ||
| 3 | LICENSE = "PD" | ||
| 4 | SECTION = "devel" | ||
| 5 | |||
| 6 | SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \ | ||
| 7 | file://lemon.1" | ||
| 8 | |||
| 9 | S = "${WORKDIR}/sqlite-${PV}/tool" | ||
| 10 | |||
| 11 | do_compile() { | ||
| 12 | ${CC} ${CFLAGS} lemon.c -c -o lemon.o | ||
| 13 | ${CCLD} ${LDFLAGS} lemon.o -o lemon | ||
| 14 | } | ||
| 15 | |||
| 16 | do_install() { | ||
| 17 | install -d ${D}${bindir} | ||
| 18 | install -m 0755 lemon ${D}${bindir} | ||
| 19 | install -m 0644 lempar.c ${D}${bindir} | ||
| 20 | install -d ${D}${mandir}/man1 | ||
| 21 | install -m 0644 ${WORKDIR}/lemon.1 ${D}${mandir}/man1/ | ||
| 22 | } | ||
| 23 | |||
| 24 | BBCLASSEXTEND = "native" | ||
| 25 | |||
diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb new file mode 100644 index 0000000000..2904a454dc --- /dev/null +++ b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | DESCRIPTION = "The Lemon Parser Generator" | ||
| 2 | HOMEPAGE = "https://sqlite.org/src/file/doc/lemon.html" | ||
| 3 | LICENSE = "PD" | ||
| 4 | SECTION = "devel" | ||
| 5 | |||
| 6 | LIC_FILES_CHKSUM = "file://tool/lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee" | ||
| 7 | |||
| 8 | SRC_URI = "git://github.com/sqlite/sqlite;protocol=https;branch=branch-3.44" | ||
| 9 | |||
| 10 | SRCREV = "c8f9803dc32bfee78a9ca2b1abbe39499729219b" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | do_compile() { | ||
| 15 | ${CC} ${CFLAGS} ${LDFLAGS} tool/lemon.c -o lemon | ||
| 16 | } | ||
| 17 | |||
| 18 | do_install() { | ||
| 19 | install -d ${D}${bindir} | ||
| 20 | install -m 0755 lemon ${D}${bindir} | ||
| 21 | install -m 0644 tool/lempar.c ${D}${bindir} | ||
| 22 | } | ||
| 23 | |||
| 24 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb b/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb deleted file mode 100644 index 354db17e6e..0000000000 --- a/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | require lemon.inc | ||
| 2 | |||
| 3 | LIC_FILES_CHKSUM = "file://lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee" | ||
| 4 | |||
| 5 | SRC_URI[md5sum] = "5437978aae90350cf984993091e0d695" | ||
| 6 | SRC_URI[sha256sum] = "dbf352e8fbb74829f5e7a88f9f6ceeb80a709537f668c36e4b6cdfb271309ef6" | ||
| 7 | |||
