diff options
Diffstat (limited to 'meta-oe/recipes-devtools/lemon/lemon.inc')
-rw-r--r-- | meta-oe/recipes-devtools/lemon/lemon.inc | 26 |
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 @@ | |||
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 | |||
26 | NATIVE_INSTALL_WORKS = "1" | ||