blob: ca93aa444feebde6df52b865225bffc9c85e77b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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-uclibceabi = " argp-standalone"
SRC_URI += "file://configure-libcurl.patch;apply=yes \
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"
|