blob: 2904a454dc7e3ae0c5708d40fc651849b434765a [file] [log] [blame]
Patrick Williams169d7bc2024-01-05 11:33:25 -06001DESCRIPTION = "The Lemon Parser Generator"
2HOMEPAGE = "https://sqlite.org/src/file/doc/lemon.html"
3LICENSE = "PD"
4SECTION = "devel"
5
6LIC_FILES_CHKSUM = "file://tool/lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee"
7
8SRC_URI = "git://github.com/sqlite/sqlite;protocol=https;branch=branch-3.44"
9
10SRCREV = "c8f9803dc32bfee78a9ca2b1abbe39499729219b"
11
12S = "${WORKDIR}/git"
13
14do_compile() {
15 ${CC} ${CFLAGS} ${LDFLAGS} tool/lemon.c -o lemon
16}
17
18do_install() {
19 install -d ${D}${bindir}
20 install -m 0755 lemon ${D}${bindir}
21 install -m 0644 tool/lempar.c ${D}${bindir}
22}
23
24BBCLASSEXTEND = "native nativesdk"