aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/eibd/eibd.inc
blob: f68ca8723049c6714fa6f72f29e593a930e8bcdc (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
DESCRIPTION = "Eibd provides an interface to the EIB / KNX bus"
HOMEPAGE = "http://www.auto.tuwien.ac.at/~mkoegler/"
SECTION = "console/network"
PRIORITY = "optional"
LICENSE = "GPLv2"
DEPENDS = " pthsem libxml2"
DEPENDS_append_libc-uclibc = " argp-standalone "
INC_PR = "r2"

SRC_URI += " file://eibd "

inherit autotools update-rc.d

EXTRA_OECONF = " --with-pth=yes --without-pth-test \
                 --enable-onlyeibd \
                 --enable-pei16 \
                 --enable-ft12 \
                 --enable-tpuart \
                 --enable-pei16s \
                 --enable-tpuarts \
                 --enable-usb \
                 --enable-eibnetip \
                 --enable-eibnetiptunnel \
                 --enable-eibnetipserver \
                 "

do_install_prepend() {
        install -d ${D}${sysconfdir}/default/
        install -d ${D}${sysconfdir}/init.d/
        install -m 0755 ${WORKDIR}/eibd ${D}${sysconfdir}/init.d/eibd
}

PACKAGES = "eibd-client-sources libeibclient eibd-server eibd-server-dbg \
            eibd-clients-dbg eibd-clients libeibclient-dev libeibclient-dbg"

FILES_eibd-server = "${bindir}/eibnetsearch ${bindir}/findknxusb \
                     ${bindir}/eibd ${bindir}/bcuaddrtab \
                     ${bindir}/eibnetdescribe ${bindir}/bcuread \
                     ${sysconfdir}/init.d/eibd  "
FILES_eibd-server-dbg = "${bindir}/.debug/eibd"
FILES_eibd-client-sources = "${datadir}/bcusdk/*"
FILES_eibd-clients = "${bindir}/*"
FILES_eibd-clients-dbg = "${bindir}/.debug"
FILES_libeibclient = "\
                     ${libdir}/lib*${SOLIBS} \
                     ${base_libdir}/*${SOLIBS} "
FILES_libeibclient-dev = "\
                     ${includedir} \
                     ${libdir}/*.la \
                     ${libdir}/*.a "
FILES_libeibclient-dbg = "${libexecdir}/.debug ${libdir}/.debug \
                          ${base_libdir}/.debug "

DESCRIPTION_eibd-clients = "Simple example programs to perform management tasks on a EIB system."
DESCRIPTION_libeibclient = "A client library written in C to access the EIB bus over eibd."
DESCRIPTION_libeibclient-dev = "A client library written in C to access the EIB bus over eibd."
DESCRIPTION_eibd-server = "eibd is a daemon which supports connection to an EIB (KNX) network over various \
interfaces. It provides its services over TCP/IP or Unix domain sockets. \
It can also act as an EIBnet/IP server."

INITSCRIPT_PACKAGES = "eibd-server"
INITSCRIPT_NAME = "eibd"
INITSCRIPT_PARAMS = "defaults 20"