Skip to contentSkip to conversation

Add libmodbus package

PATCH New julien.boibessot at free.fr 2 participants 2 messages Oct 19, 2011 – Oct 28, 2011

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Add libmodbus package

From: Julien Boibessot <[email protected]>

---
Changes since v1:
- Took Yegor Yefremov remarks about "call AUTOTARGETS' into account.

Based on previous work of Marek Belisko and comments of Thomas Petazzoni.

 package/Config.in              |    1 +
 package/libmodbus/Config.in    |    8 ++++++++
 package/libmodbus/libmodbus.mk |   11 +++++++++++
 3 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 package/libmodbus/Config.in
 create mode 100644 package/libmodbus/libmodbus.mk
package/Config.in +1 -0
index 3b2769d..c4a5ee5 100644
@@ -332,6 +332,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"
package/libmodbus/Config.in new file +8 -0
new file mode 100644
index 0000000..ccf1190
@@ -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
package/libmodbus/libmodbus.mk new file +11 -0
new file mode 100644
index 0000000..ab134fd
@@ -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))
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH v2 1/1 Add libmodbus package

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"julien" == julien boibessot <[email protected]> writes:

julien> From: Julien Boibessot <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard