package: add libmbus library
authorSagaert Johan <sagaert.johan@skynet.be>
Sat, 10 Dec 2011 23:23:31 +0000 (00:23 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 2 Jan 2012 21:20:31 +0000 (22:20 +0100)
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>
package/Config.in
package/libmbus/Config.in [new file with mode: 0644]
package/libmbus/libmbus.mk [new file with mode: 0644]

index 0e514939c5895b8e8d41559e35e2bbd1e157d27f..eb5bfa935bd87edece3cc354105d8b215cf9df53 100644 (file)
@@ -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 (file)
index 0000000..1e2a8de
--- /dev/null
@@ -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 (file)
index 0000000..9abb2bf
--- /dev/null
@@ -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))