summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))