diff options
| -rw-r--r-- | meta-oe/recipes-extended/libmodbus/libmodbus.inc | 13 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/libmodbus/libmodbus_3.0.6.bb | 14 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/libmodbus/libmodbus_3.1.2.bb | 7 |
3 files changed, 21 insertions, 13 deletions
diff --git a/meta-oe/recipes-extended/libmodbus/libmodbus.inc b/meta-oe/recipes-extended/libmodbus/libmodbus.inc new file mode 100644 index 0000000000..a01659a72d --- /dev/null +++ b/meta-oe/recipes-extended/libmodbus/libmodbus.inc | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | SUMMARY = "A Modbus library" | ||
| 2 | DESCRIPTION = "libmodbus is a C library designed to provide a fast and robust \ | ||
| 3 | implementation of the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, \ | ||
| 4 | QNX and Windows." | ||
| 5 | HOMEPAGE = "http://www.libmodbus.org/" | ||
| 6 | SECTION = "libs" | ||
| 7 | |||
| 8 | LICENSE = "LGPLv2.1+" | ||
| 9 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c" | ||
| 10 | |||
| 11 | SRC_URI = "http://libmodbus.org/releases/${BP}.tar.gz" | ||
| 12 | |||
| 13 | inherit autotools pkgconfig | ||
diff --git a/meta-oe/recipes-extended/libmodbus/libmodbus_3.0.6.bb b/meta-oe/recipes-extended/libmodbus/libmodbus_3.0.6.bb index c5e6ae8652..b4d32fb2c7 100644 --- a/meta-oe/recipes-extended/libmodbus/libmodbus_3.0.6.bb +++ b/meta-oe/recipes-extended/libmodbus/libmodbus_3.0.6.bb | |||
| @@ -1,16 +1,4 @@ | |||
| 1 | SUMMARY = "A Modbus library" | 1 | require libmodbus.inc |
| 2 | DESCRIPTION = "libmodbus is a C library designed to provide a fast and robust \ | ||
| 3 | implementation of the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, \ | ||
| 4 | QNX and Windows." | ||
| 5 | HOMEPAGE = "http://www.libmodbus.org/" | ||
| 6 | SECTION = "libs" | ||
| 7 | |||
| 8 | LICENSE = "LGPLv2.1+" | ||
| 9 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c" | ||
| 10 | |||
| 11 | SRC_URI = "http://libmodbus.org/site_media/build/${BP}.tar.gz" | ||
| 12 | |||
| 13 | inherit autotools pkgconfig | ||
| 14 | 2 | ||
| 15 | SRC_URI[md5sum] = "c80f88b6ca19cabc4ceffc195ca07771" | 3 | SRC_URI[md5sum] = "c80f88b6ca19cabc4ceffc195ca07771" |
| 16 | SRC_URI[sha256sum] = "046d63f10f755e2160dc56ef681e5f5ad3862a57c1955fd82e0ce036b69471b6" | 4 | SRC_URI[sha256sum] = "046d63f10f755e2160dc56ef681e5f5ad3862a57c1955fd82e0ce036b69471b6" |
diff --git a/meta-oe/recipes-extended/libmodbus/libmodbus_3.1.2.bb b/meta-oe/recipes-extended/libmodbus/libmodbus_3.1.2.bb new file mode 100644 index 0000000000..6fcfc3a1f1 --- /dev/null +++ b/meta-oe/recipes-extended/libmodbus/libmodbus_3.1.2.bb | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | require libmodbus.inc | ||
| 2 | |||
| 3 | # Use the stable branch by default | ||
| 4 | DEFAULT_PREFERENCE = "-1" | ||
| 5 | |||
| 6 | SRC_URI[md5sum] = "dd4262f87ed835c4d1e560f8321a222c" | ||
| 7 | SRC_URI[sha256sum] = "661e14f9dc904f3f1b034464ddaa5fd4b8472f8f5d1ea10a1148af85591b7ee9" | ||
