Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 | |