summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
blob: 2904a454dc7e3ae0c5708d40fc651849b434765a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
DESCRIPTION = "The Lemon Parser Generator"
HOMEPAGE = "https://sqlite.org/src/file/doc/lemon.html"
LICENSE = "PD"
SECTION = "devel"

LIC_FILES_CHKSUM = "file://tool/lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee"

SRC_URI = "git://github.com/sqlite/sqlite;protocol=https;branch=branch-3.44"

SRCREV = "c8f9803dc32bfee78a9ca2b1abbe39499729219b"

S = "${WORKDIR}/git"

do_compile() {
    ${CC} ${CFLAGS} ${LDFLAGS} tool/lemon.c -o lemon
}

do_install() {
    install -d ${D}${bindir}
    install -m 0755 lemon ${D}${bindir}
    install -m 0644 tool/lempar.c ${D}${bindir}
}

BBCLASSEXTEND = "native nativesdk"