summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorSagaert Johan <sagaert.johan@skynet.be>2011-12-11 00:23:31 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-01-02 22:20:31 +0100
commit43f8bb8c250b2e0fbf9fb73a240c299a60511cc4 (patch)
tree7ab38597f48d7400ae9998da392b12d83d8de89f /package
parent27ad470d7df5509ae4a96edd04521211900090e4 (diff)
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>
Diffstat (limited to 'package')
-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 0e514939c..eb5bfa935 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 000000000..1e2a8de7a
--- /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 000000000..9abb2bf8d
--- /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))