summaryrefslogtreecommitdiff
path: root/recipes/linknx/linknx.inc
diff options
context:
space:
mode:
authorDirk Opfer <dirk@do13.de>2009-08-12 10:06:44 +0200
committerDirk Opfer <dirk@do13.de>2009-08-12 10:41:53 +0200
commit110422e26fb5f1e56b22e1ea00e393a187114793 (patch)
tree7a2e177539ff2bb7b301be892ac35b0da7d9133e /recipes/linknx/linknx.inc
parentb5b13fcd2a5a7fb213e544971db9f5f59d6f3474 (diff)
linknx: Fix crash on startup
- restructure recipe and add .inc - Add patch to fix a crash on startup during static initialization of a map - Add startup script - Enable curl and smtp - Add recipe for cvs version
Diffstat (limited to 'recipes/linknx/linknx.inc')
-rw-r--r--recipes/linknx/linknx.inc29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/linknx/linknx.inc b/recipes/linknx/linknx.inc
new file mode 100644
index 0000000000..ff2492fff5
--- /dev/null
+++ b/recipes/linknx/linknx.inc
@@ -0,0 +1,29 @@
+DESCRIPTION = "Linknx is an automation platform providing high level functionalities to EIB/KNX installation. \
+The rules engine allows execution of actions based on complex logical conditions and timers"
+HOMEPAGE = "http://linknx.sourceforge.net/"
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+DEPENDS = " pthsem lua5.1 curl libesmtp"
+DEPENDS_append_linux-uclibc = " argp-standalone"
+DEPENDS_append_linux-uclibcgnueabi = " argp-standalone"
+
+SRC_URI += "file://configure-libcurl.patch;patch=1 \
+ file://linknx.start "
+
+inherit autotools update-rc.d
+
+EXTRA_OECONF = " --with-pth=yes --without-pth-test --without-mysql --without-log4cpp \
+ --disable-nls --disable-static \
+# --with-mysql=${STAGING_BINDIR_CROSS} \
+ --enable-smtp --with-lua"
+
+do_install_prepend() {
+ install -d ${D}${sysconfdir}/default/
+ install -d ${D}${sysconfdir}/init.d/
+ install -m 0755 ${WORKDIR}/linknx.start ${D}${sysconfdir}/init.d/linknx
+}
+
+INITSCRIPT_NAME = "linknx"
+INITSCRIPT_PARAMS = "defaults 22"