All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libmodbus: ported recipe from classic and updated
@ 2012-05-04 21:25 Andrea Galbusera
  2012-05-04 21:49 ` Khem Raj
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Andrea Galbusera @ 2012-05-04 21:25 UTC (permalink / raw)
  To: openembedded-devel

* based on recipe by Radoslav Kolev which was in classic
* updated to latest released version 3.0.2
* also provide an _git version with up-to-date SRCREV and
DEFAULT_PREFERENCE = "-1"
* common part factorized as libmodbus.inc

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
---
 meta-oe/recipes-extended/libmodbus/libmodbus.inc   |   13 +++++++++++++
 .../recipes-extended/libmodbus/libmodbus_3.0.2.bb  |    8 ++++++++
 .../recipes-extended/libmodbus/libmodbus_git.bb    |   13 +++++++++++++
 3 files changed, 34 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-extended/libmodbus/libmodbus.inc
 create mode 100644 meta-oe/recipes-extended/libmodbus/libmodbus_3.0.2.bb
 create mode 100644 meta-oe/recipes-extended/libmodbus/libmodbus_git.bb

diff --git a/meta-oe/recipes-extended/libmodbus/libmodbus.inc b/meta-oe/recipes-extended/libmodbus/libmodbus.inc
new file mode 100644
index 0000000..8e0e011
--- /dev/null
+++ b/meta-oe/recipes-extended/libmodbus/libmodbus.inc
@@ -0,0 +1,13 @@
+SUMMARY = "A Modbus library"
+DESCRIPTION = "libmodbus is a C library designed to provide a fast and robust \
+implementation of the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, \
+QNX and Windows."
+HOMEPAGE = "http://www.libmodbus.org/"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c"
+
+INC_PR = "r0"
+
+inherit autotools pkgconfig
diff --git a/meta-oe/recipes-extended/libmodbus/libmodbus_3.0.2.bb b/meta-oe/recipes-extended/libmodbus/libmodbus_3.0.2.bb
new file mode 100644
index 0000000..7a99f72
--- /dev/null
+++ b/meta-oe/recipes-extended/libmodbus/libmodbus_3.0.2.bb
@@ -0,0 +1,8 @@
+require libmodbus.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI = "http://github.com/downloads/stephane/libmodbus/libmodbus-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "1aaacce9d9779d3a84f7d1a75774c943"
+SRC_URI[sha256sum] = "927ec90e0e299a7d4ec7086b1e2590566bdfc3bbc22e12204229361c029f2615"
diff --git a/meta-oe/recipes-extended/libmodbus/libmodbus_git.bb b/meta-oe/recipes-extended/libmodbus/libmodbus_git.bb
new file mode 100644
index 0000000..793a9d6
--- /dev/null
+++ b/meta-oe/recipes-extended/libmodbus/libmodbus_git.bb
@@ -0,0 +1,13 @@
+require libmodbus.inc
+
+SRCREV = "23dd803f3f2b7be668408fa938e8d665249b4fba"
+
+PV = "3.0.2+gitr${SRCPV}"
+
+PR = "${INC_PR}.0"
+
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "git://github.com/stephane/libmodbus;branch=master;protocol=git"
+S = "${WORKDIR}/git"
+
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-05-15  7:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-04 21:25 [PATCH] libmodbus: ported recipe from classic and updated Andrea Galbusera
2012-05-04 21:49 ` Khem Raj
2012-05-05 15:52   ` Andrea Galbusera
2012-05-05  4:46 ` Martin Jansa
2012-05-05 15:51 ` [meta-oe][PATCH v2] " Andrea Galbusera
2012-05-15  6:37   ` Andrea Galbusera
2012-05-15  7:48   ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.