summaryrefslogtreecommitdiffstats
path: root/package/libmodbus
diff options
context:
space:
mode:
authorJulien Boibessot <julien.boibessot@armadeus.com>2011-10-19 12:35:56 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-10-28 13:39:58 +0200
commit9b3526f56af35ae1db41b3620513f7065dcfc8d4 (patch)
tree3c14a70a6468735bb2f8f3d6e8806711c582b841 /package/libmodbus
parent939f0074ec4a7764647b8bdadcaa0d0403e0d9d9 (diff)
downloadbuildroot-novena-9b3526f56af35ae1db41b3620513f7065dcfc8d4.tar.gz
buildroot-novena-9b3526f56af35ae1db41b3620513f7065dcfc8d4.zip
Add libmodbus package
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
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))