summaryrefslogtreecommitdiff
path: root/package/libmodbus
diff options
context:
space:
mode:
Diffstat (limited to 'package/libmodbus')
-rw-r--r--package/libmodbus/Config.in8
-rw-r--r--package/libmodbus/libmodbus.mk11
2 files changed, 19 insertions, 0 deletions
diff --git a/package/libmodbus/Config.in b/package/libmodbus/Config.in
new file mode 100644
index 000000000..ccf11906f
--- /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 000000000..ab134fdb4
--- /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))