Merge remote-tracking branch 'dm/opendreambox-1.6' into test_0701
[vuplus_openembedded] / recipes / linknx / linknx.inc
1 DESCRIPTION = "Linknx is an automation platform providing high level functionalities to EIB/KNX installation. \
2 The rules engine allows execution of actions based on complex logical conditions and timers"
3 HOMEPAGE = "http://linknx.sourceforge.net/"
4 SECTION = "console/network"
5 PRIORITY = "optional"
6 LICENSE = "GPL"
7
8 DEPENDS = " pthsem lua5.1 curl libesmtp"
9 DEPENDS_append_linux-uclibc = " argp-standalone"
10 DEPENDS_append_linux-uclibceabi = " argp-standalone"
11
12 SRC_URI += "file://configure-libcurl.patch;patch=1 \
13             file://linknx.start "
14
15 inherit autotools update-rc.d
16
17 EXTRA_OECONF = " --with-pth=yes --without-pth-test --without-mysql --without-log4cpp \
18                  --disable-nls --disable-static \
19 #                 --with-mysql=${STAGING_BINDIR_CROSS} \
20                  --enable-smtp --with-lua"
21
22 do_install_prepend() {
23         install -d ${D}${sysconfdir}/default/
24         install -d ${D}${sysconfdir}/init.d/
25         install -m 0755 ${WORKDIR}/linknx.start ${D}${sysconfdir}/init.d/linknx
26 }
27
28 INITSCRIPT_NAME = "linknx"
29 INITSCRIPT_PARAMS = "defaults 22"