aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/lemon/lemon.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-11-02 16:46:30 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-11-03 09:51:55 +0100
commit0996da43b20d16a4375746a932bac1a5834aca4b (patch)
tree2e5daafca8df897bcd1e79c75d2aa1342aa1f3b7 /meta-oe/recipes-devtools/lemon/lemon.inc
parent6d0fe0de240207e3a72a0d2cb3f755f8949f9b35 (diff)
downloadmeta-openembedded-contrib-0996da43b20d16a4375746a932bac1a5834aca4b.tar.gz
lemon 3.5.4: import from OE classic
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
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 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"