From 110422e26fb5f1e56b22e1ea00e393a187114793 Mon Sep 17 00:00:00 2001 From: Dirk Opfer Date: Wed, 12 Aug 2009 10:06:44 +0200 Subject: 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 --- recipes/linknx/linknx.inc | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 recipes/linknx/linknx.inc (limited to 'recipes/linknx/linknx.inc') 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" -- cgit 1.2.3-korg