blob: 57b9fb710ef4e11494390b66c4eabd5d276943c8 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001DESCRIPTION = "The Lemon Parser Generator"
2HOMEPAGE = "http://www.hwaci.com/sw/lemon/"
3LICENSE = "PD"
4SECTION = "devel"
5
6SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
7 file://lemon.1"
8
9S = "${WORKDIR}/sqlite-${PV}/tool"
10
11do_compile() {
12 ${CC} ${CFLAGS} lemon.c -c -o lemon.o
13 ${CCLD} ${LDFLAGS} lemon.o -o lemon
14}
15
16do_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
24BBCLASSEXTEND = "native"
25