From 9b3526f56af35ae1db41b3620513f7065dcfc8d4 Mon Sep 17 00:00:00 2001 From: Julien Boibessot Date: Wed, 19 Oct 2011 12:35:56 +0200 Subject: [PATCH] Add libmodbus package Signed-off-by: Julien Boibessot Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/libmodbus/Config.in | 8 ++++++++ package/libmodbus/libmodbus.mk | 11 +++++++++++ 3 files changed, 20 insertions(+) create mode 100644 package/libmodbus/Config.in create mode 100644 package/libmodbus/libmodbus.mk diff --git a/package/Config.in b/package/Config.in index c6ca350bbc..33dd59e3bd 100644 --- a/package/Config.in +++ b/package/Config.in @@ -333,6 +333,7 @@ source "package/libidn/Config.in" source "package/libmicrohttpd/Config.in" source "package/neon/Config.in" source "package/libmnl/Config.in" +source "package/libmodbus/Config.in" source "package/libnl/Config.in" source "package/libpcap/Config.in" source "package/libosip2/Config.in" diff --git a/package/libmodbus/Config.in b/package/libmodbus/Config.in new file mode 100644 index 0000000000..ccf11906fc --- /dev/null +++ b/package/libmodbus/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_LIBMODBUS + bool "libmodbus" + help + libmodbus is a free software library to send/receive data according + to the Modbus protocol. This library is written in C and supports + RTU (serial) and TCP (Ethernet) communications. + + http://libmodbus.org diff --git a/package/libmodbus/libmodbus.mk b/package/libmodbus/libmodbus.mk new file mode 100644 index 0000000000..ab134fdb4c --- /dev/null +++ b/package/libmodbus/libmodbus.mk @@ -0,0 +1,11 @@ +############################################################# +# +# libmodbus +# +############################################################# +LIBMODBUS_VERSION = 3.0.1 +LIBMODBUS_SITE = http://github.com/downloads/stephane/libmodbus +LIBMODBUS_SOURCE = libmodbus-$(LIBMODBUS_VERSION).tar.gz +LIBMODBUS_INSTALL_STAGING = YES + +$(eval $(call AUTOTARGETS)) -- 2.30.2