summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Opfer <dirk@do13.de>2009-08-04 10:30:41 +0200
committerDirk Opfer <dirk@do13.de>2009-08-06 21:59:37 +0200
commit62cd55af86fc2aad2b75ed13411121e9635d6a16 (patch)
treeba901fd3faf64cd9e53ef14e8b1096c1051f4600
parent166d1c7f5b78857c6214b6e768916814a33b387d (diff)
eibd: add eibd.inc
-rw-r--r--recipes/eibd/eibd.inc61
-rw-r--r--recipes/eibd/eibd_0.0.4.bb63
2 files changed, 63 insertions, 61 deletions
diff --git a/recipes/eibd/eibd.inc b/recipes/eibd/eibd.inc
new file mode 100644
index 0000000000..f021d96f3f
--- /dev/null
+++ b/recipes/eibd/eibd.inc
@@ -0,0 +1,61 @@
+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_linux-uclibc = " argp-standalone "
+DEPENDS_append_linux-uclibcgnueabi = " argp-standalone "
+
+SRC_URI += " file://eibd "
+
+S = "${WORKDIR}/bcusdk-${PV}"
+
+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-server eibd-clients libeibclient-dev"
+
+FILES_eibd-server = "${bindir}/eibnetsearch ${bindir}/findknxusb \
+ ${bindir}/eibd ${bindir}/bcuaddrtab \
+ ${bindir}/eibnetdescribe ${bindir}/bcuread \
+ ${sysconfdir}/init.d/eibd "
+FILES_eibd-clients = "${bindir}/*"
+FILES_libeibclient-dev = "\
+ ${includedir} \
+ ${libdir}/lib*.so \
+ ${libdir}/*.la \
+ ${libdir}/*.a \
+ ${libdir}/*.o \
+ ${libdir}/pkgconfig \
+ /lib/*.a \
+ /lib/*.o \
+ ${datadir}/aclocal"
+
+DESCRIPTION_eibd-clients = "Simple example programs to perform management tasks on a EIB system."
+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"
diff --git a/recipes/eibd/eibd_0.0.4.bb b/recipes/eibd/eibd_0.0.4.bb
index 23e2c0832c..24368def6f 100644
--- a/recipes/eibd/eibd_0.0.4.bb
+++ b/recipes/eibd/eibd_0.0.4.bb
@@ -1,62 +1,3 @@
-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_linux-uclibc = " argp-standalone "
-DEPENDS_append_linux-uclibcgnueabi = " argp-standalone "
+SRC_URI = "http://www.auto.tuwien.ac.at/~mkoegler/eib/bcusdk_${PV}.tar.gz "
-SRC_URI = "http://www.auto.tuwien.ac.at/~mkoegler/eib/bcusdk_${PV}.tar.gz \
- file://eibd "
-
-S = "${WORKDIR}/bcusdk-${PV}"
-
-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-server eibd-clients libeibclient-dev"
-
-FILES_eibd-server = "${bindir}/eibnetsearch ${bindir}/findknxusb \
- ${bindir}/eibd ${bindir}/bcuaddrtab \
- ${bindir}/eibnetdescribe ${bindir}/bcuread \
- ${sysconfdir}/init.d/eibd "
-FILES_eibd-clients = "${bindir}/*"
-FILES_libeibclient-dev = "\
- ${includedir} \
- ${libdir}/lib*.so \
- ${libdir}/*.la \
- ${libdir}/*.a \
- ${libdir}/*.o \
- ${libdir}/pkgconfig \
- /lib/*.a \
- /lib/*.o \
- ${datadir}/aclocal"
-
-DESCRIPTION_eibd-clients = "Simple example programs to perform management tasks on a EIB system."
-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"
+require eibd.inc