All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Added a recipe for libmodbus
@ 2011-03-26 16:50 Radoslav Kolev
  2011-03-26 17:08 ` Koen Kooi
  0 siblings, 1 reply; 4+ messages in thread
From: Radoslav Kolev @ 2011-03-26 16:50 UTC (permalink / raw)
  To: openembedded-devel


Signed-off-by: Radoslav Kolev <radoslav@kolev.info>
---
 recipes/libmodbus/libmodbus.inc      |    8 ++++++++
 recipes/libmodbus/libmodbus_2.0.3.bb |    8 ++++++++
 recipes/libmodbus/libmodbus_git.bb   |   11 +++++++++++
 3 files changed, 27 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libmodbus/libmodbus.inc
 create mode 100644 recipes/libmodbus/libmodbus_2.0.3.bb
 create mode 100644 recipes/libmodbus/libmodbus_git.bb

diff --git a/recipes/libmodbus/libmodbus.inc b/recipes/libmodbus/libmodbus.inc
new file mode 100644
index 0000000..c5a673a
--- /dev/null
+++ b/recipes/libmodbus/libmodbus.inc
@@ -0,0 +1,8 @@
+DESCRIPTION = "A Modbus library for Linux, Mac OS X, FreeBSD, QNX and Win32"
+HOMEPAGE = "http://www.libmodbus.org/"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+INC_PR = "r1"
+
+inherit autotools pkgconfig
diff --git a/recipes/libmodbus/libmodbus_2.0.3.bb b/recipes/libmodbus/libmodbus_2.0.3.bb
new file mode 100644
index 0000000..bf6062c
--- /dev/null
+++ b/recipes/libmodbus/libmodbus_2.0.3.bb
@@ -0,0 +1,8 @@
+require libmodbus.inc
+
+PR = "${INC_PR}.1"
+
+SRC_URI = "http://github.com/downloads/stephane/libmodbus/libmodbus-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "0646f3edca6d7783d0356dc2fc4f9f4c"
+SRC_URI[sha256sum] = "cf9d8d3981ace78a4ed559f2e28c5e0270d56a607b9ae79484e5742e36543feb"
diff --git a/recipes/libmodbus/libmodbus_git.bb b/recipes/libmodbus/libmodbus_git.bb
new file mode 100644
index 0000000..5b405f8
--- /dev/null
+++ b/recipes/libmodbus/libmodbus_git.bb
@@ -0,0 +1,11 @@
+require libmodbus.inc
+
+SRCREV = "6254ede9156095ee0300"
+
+PR = "${INC_PR}.1"
+
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "git://github.com/stephane/libmodbus;branch=master;protocol=git"
+S = "${WORKDIR}/git"
+
-- 
1.7.0.4




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

end of thread, other threads:[~2011-03-27  9:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-26 16:50 [PATCH] Added a recipe for libmodbus Radoslav Kolev
2011-03-26 17:08 ` Koen Kooi
2011-03-26 17:33   ` Radoslav Kolev
2011-03-27  9:19   ` [PATCH v2] " Radoslav Kolev

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.