summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSagaert Johan <sagaert.johan@skynet.be>2011-12-10 23:23:31 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-01-02 21:20:31 (GMT)
commit43f8bb8c250b2e0fbf9fb73a240c299a60511cc4 (patch)
tree7ab38597f48d7400ae9998da392b12d83d8de89f
parent27ad470d7df5509ae4a96edd04521211900090e4 (diff)
downloadbuildroot-43f8bb8c250b2e0fbf9fb73a240c299a60511cc4.tar.gz
buildroot-43f8bb8c250b2e0fbf9fb73a240c299a60511cc4.tar.bz2
package: add libmbus library
libmbus is an open source M-bus (Meter-Bus) library. The Meter-Bus is a standard for reading out meter data from electricity meters, heat meters, gas meters, etc. [Peter: minor whitespace fixes] Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be> Reviewed-by: Luca Ceresoli<luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Config.in1
-rw-r--r--package/libmbus/Config.in8
-rw-r--r--package/libmbus/libmbus.mk15
3 files changed, 24 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 0e51493..eb5bfa9 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -343,6 +343,7 @@ source "package/libmicrohttpd/Config.in"
source "package/neon/Config.in"
source "package/libmnl/Config.in"
source "package/libmodbus/Config.in"
+source "package/libmbus/Config.in"
source "package/libnl/Config.in"
source "package/libpcap/Config.in"
source "package/libosip2/Config.in"
diff --git a/package/libmbus/Config.in b/package/libmbus/Config.in
new file mode 100644
index 0000000..1e2a8de
--- /dev/null
+++ b/package/libmbus/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LIBMBUS
+ bool "libmbus"
+ help
+ libmbus is a library for communicating with energy metering devices.
+ It supports TCP and RS232 M-bus gateways.
+ (M-bus standard: http://www.m-bus.com/)
+
+ http://www.freescada.com/libmbus
diff --git a/package/libmbus/libmbus.mk b/package/libmbus/libmbus.mk
new file mode 100644
index 0000000..9abb2bf
--- /dev/null
+++ b/package/libmbus/libmbus.mk
@@ -0,0 +1,15 @@
+#############################################################
+#
+# libmbus
+#
+#############################################################
+
+LIBMBUS_VERSION = 0.6.1
+LIBMBUS_SITE = http://www.freescada.com/public-dist/
+LIBMBUS_INSTALL_STAGING = YES
+
+# Without this the build yields an error:
+# cannot find input file: `test/Makefile.in'
+LIBMBUS_AUTORECONF = YES
+
+$(eval $(call AUTOTARGETS))