summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-05-11 00:36:41 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-11 00:36:41 +0000
commitc188d2495bc60e42002c057af5ccad7612d86385 (patch)
treea46ad7abed5011134479c23a4d8b62c867537f28
parent3e5fb52e1267b68327c395b5cada0181ac356450 (diff)
lemon: upgrade to 3.3.5, take source from sqlite release
-rw-r--r--packages/lemon/lemon-native_3.3.5.bb (renamed from packages/lemon/lemon-native.bb)4
-rw-r--r--packages/lemon/lemon.inc11
-rw-r--r--packages/lemon/lemon_3.3.5.bb (renamed from packages/lemon/lemon.bb)8
3 files changed, 9 insertions, 14 deletions
diff --git a/packages/lemon/lemon-native.bb b/packages/lemon/lemon-native_3.3.5.bb
index 02effba2c0..4c721723de 100644
--- a/packages/lemon/lemon-native.bb
+++ b/packages/lemon/lemon-native_3.3.5.bb
@@ -1,7 +1,7 @@
-include lemon.inc
+require lemon.inc
inherit native
-do_stage () {
+do_stage() {
install -d ${STAGING_BINDIR}
install -m 0755 lemon ${STAGING_BINDIR}/
install -d ${STAGING_DATADIR}/lemon
diff --git a/packages/lemon/lemon.inc b/packages/lemon/lemon.inc
index 476798ed41..d50facd39a 100644
--- a/packages/lemon/lemon.inc
+++ b/packages/lemon/lemon.inc
@@ -5,14 +5,11 @@ MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
PRIORITY = "optional"
SECTION = "devel"
-SRC_URI = "http://www.sqlite.org/cvstrac/getfile/sqlite/tool/lemon.c \
- file://snprintf.patch;patch=1;pnum=0 \
- http://www.sqlite.org/cvstrac/getfile/sqlite/tool/lempar.c \
- http://www.hwaci.com/sw/lemon/lemon.html \
- file://lemon.1"
-S = "${WORKDIR}"
+SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
+ file://lemon.1"
+S = "${WORKDIR}/sqlite-${PV}/tool"
-do_compile () {
+do_compile() {
${CC} ${CFLAGS} lemon.c -c -o lemon.o
${CCLD} ${LDFLAGS} lemon.o -o lemon
}
diff --git a/packages/lemon/lemon.bb b/packages/lemon/lemon_3.3.5.bb
index 3309a45b42..b057360010 100644
--- a/packages/lemon/lemon.bb
+++ b/packages/lemon/lemon_3.3.5.bb
@@ -1,12 +1,10 @@
-include lemon.inc
+require lemon.inc
-do_install () {
+do_install() {
install -d ${D}${bindir}
install -m 0755 lemon ${D}${bindir}/
install -d ${D}${datadir}/lemon
install -m 0644 lempar.c ${D}${datadir}/lemon/
- install -d ${D}${docdir}/lemon
- install -m 0644 lemon.html ${D}${docdir}/lemon/
install -d ${D}${mandir}/man1
- install -m 0644 lemon.1 ${D}${mandir}/man1/
+ install -m 0644 ${WORKDIR}/lemon.1 ${D}${mandir}/man1/
}