From 43f8bb8c250b2e0fbf9fb73a240c299a60511cc4 Mon Sep 17 00:00:00 2001 From: Sagaert Johan Date: Sun, 11 Dec 2011 00:23:31 +0100 Subject: 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 Reviewed-by: Luca Ceresoli Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/libmbus/Config.in | 8 ++++++++ package/libmbus/libmbus.mk | 15 +++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 package/libmbus/Config.in create mode 100644 package/libmbus/libmbus.mk (limited to 'package') 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)) -- cgit v1.2.3