increase dvbapp PR.
[vuplus_openembedded] / recipes / eibd / eibd.inc
1 DESCRIPTION = "Eibd provides an interface to the EIB / KNX bus"
2 HOMEPAGE = "http://www.auto.tuwien.ac.at/~mkoegler/"
3 SECTION = "console/network"
4 PRIORITY = "optional"
5 LICENSE = "GPLv2"
6 DEPENDS = " pthsem libxml2"
7 DEPENDS_append_linux-uclibc = " argp-standalone "
8 DEPENDS_append_linux-uclibceabi = " argp-standalone "
9
10 SRC_URI += " file://eibd "
11
12 S = "${WORKDIR}/bcusdk-${PV}"
13
14 inherit autotools update-rc.d
15
16 EXTRA_OECONF = " --with-pth=yes --without-pth-test \
17                  --enable-onlyeibd \
18                  --enable-pei16 \
19                  --enable-ft12 \
20                  --enable-tpuart \
21                  --enable-pei16s \
22                  --enable-tpuarts \
23                  --enable-usb \
24                  --enable-eibnetip \
25                  --enable-eibnetiptunnel \
26                  --enable-eibnetipserver \
27                  "
28
29 do_install_prepend() {
30         install -d ${D}${sysconfdir}/default/
31         install -d ${D}${sysconfdir}/init.d/
32         install -m 0755 ${WORKDIR}/eibd ${D}${sysconfdir}/init.d/eibd
33 }
34
35 PACKAGES =+ "eibd-server eibd-clients libeibclient-dev"
36
37 FILES_eibd-server = "${bindir}/eibnetsearch ${bindir}/findknxusb \
38                      ${bindir}/eibd ${bindir}/bcuaddrtab \
39                      ${bindir}/eibnetdescribe ${bindir}/bcuread \
40                      ${sysconfdir}/init.d/eibd  "
41 FILES_eibd-clients = "${bindir}/*"
42 FILES_libeibclient-dev = "\
43                      ${includedir} \
44                      ${libdir}/lib*.so \
45                      ${libdir}/*.la \
46                      ${libdir}/*.a \
47                      ${libdir}/*.o \
48                      ${libdir}/pkgconfig \
49                      /lib/*.a \
50                      /lib/*.o \
51                      ${datadir}/aclocal"
52
53 DESCRIPTION_eibd-clients = "Simple example programs to perform management tasks on a EIB system."
54 DESCRIPTION_libeibclient-dev = "A client library written in C to access the EIB bus over eibd."
55 DESCRIPTION_eibd-server = "eibd is a daemon which supports connection to an EIB (KNX) network over various \
56 interfaces. It provides its services over TCP/IP or Unix domain sockets. \
57 It can also act as an EIBnet/IP server."
58
59 INITSCRIPT_PACKAGES = "eibd-server"
60 INITSCRIPT_NAME = "eibd"
61 INITSCRIPT_PARAMS = "defaults 20"