aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linknx/linknx.inc
diff options
context:
space:
mode:
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"