From 0996da43b20d16a4375746a932bac1a5834aca4b Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 2 Nov 2011 16:46:30 +0100 Subject: lemon 3.5.4: import from OE classic Signed-off-by: Koen Kooi --- meta-oe/recipes-devtools/lemon/lemon.inc | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta-oe/recipes-devtools/lemon/lemon.inc (limited to 'meta-oe/recipes-devtools/lemon/lemon.inc') diff --git a/meta-oe/recipes-devtools/lemon/lemon.inc b/meta-oe/recipes-devtools/lemon/lemon.inc new file mode 100644 index 0000000000..48d93ee836 --- /dev/null +++ b/meta-oe/recipes-devtools/lemon/lemon.inc @@ -0,0 +1,26 @@ +DESCRIPTION = "The Lemon Parser Generator" +HOMEPAGE = "http://www.hwaci.com/sw/lemon/" +LICENSE = "PD" +SECTION = "devel" + +SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \ + file://lemon.1" + +S = "${WORKDIR}/sqlite-${PV}/tool" + +do_compile() { + ${CC} ${CFLAGS} lemon.c -c -o lemon.o + ${CCLD} ${LDFLAGS} lemon.o -o lemon +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 lemon ${D}${bindir} + install -m 0644 lempar.c ${D}${bindir} + install -d ${D}${mandir}/man1 + install -m 0644 ${WORKDIR}/lemon.1 ${D}${mandir}/man1/ +} + +BBCLASSEXTEND = "native" + +NATIVE_INSTALL_WORKS = "1" -- cgit 1.2.3-korg