Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 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" |