summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/lemon/lemon.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/lemon/lemon.inc')
-rw-r--r--meta-oe/recipes-devtools/lemon/lemon.inc26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/lemon/lemon.inc b/meta-oe/recipes-devtools/lemon/lemon.inc
new file mode 100644
index 000000000..48d93ee83
--- /dev/null
+++ b/meta-oe/recipes-devtools/lemon/lemon.inc
@@ -0,0 +1,26 @@
1DESCRIPTION = "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
26NATIVE_INSTALL_WORKS = "1"