Patchwork zeromq: added version 2.1.9 zeromq.inc

login
register
mail settings
Submitter errodeveloper
Date Sept. 8, 2011, 1:04 a.m.
Message ID <1315443873-16271-1-git-send-email-errordeveloper@gmail.com>
Download mbox | patch
Permalink /patch/11221/
State New, archived
Headers show

Comments

errodeveloper - Sept. 8, 2011, 1:04 a.m.
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
---
 recipes/zeromq/zeromq.inc      |   22 ++++++++++++++++++++++
 recipes/zeromq/zeromq_2.1.6.bb |   17 ++---------------
 recipes/zeromq/zeromq_2.1.7.bb |    8 ++++++++
 recipes/zeromq/zeromq_2.1.9.bb |    6 ++++++
 4 files changed, 38 insertions(+), 15 deletions(-)
 create mode 100644 recipes/zeromq/zeromq.inc
 create mode 100644 recipes/zeromq/zeromq_2.1.7.bb
 create mode 100644 recipes/zeromq/zeromq_2.1.9.bb

Patch

diff --git a/recipes/zeromq/zeromq.inc b/recipes/zeromq/zeromq.inc
new file mode 100644
index 0000000..e23bf76
--- /dev/null
+++ b/recipes/zeromq/zeromq.inc
@@ -0,0 +1,22 @@ 
+DESCRIPTION = "ZeroMQ looks like an embeddable networking library but acts like a concurrency framework"
+HOMEPAGE = "http://www.zeromq.org"
+LICENSE = "LGPLv3+"
+LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=66ea8704398d7996daeacd2fbd2b9dbd"
+
+INC_PR = "r0"
+
+DEPENDS += "util-linux-ng"
+
+S = "${WORKDIR}/zeromq-${PV}"
+
+## All current releases are kept here:
+SRC_URI = "http://download.zeromq.org/zeromq-${PV}.tar.gz"
+## obsolete release are being move to:
+#SRC_URI = "http://download.zeromq.org/historic/zeromq-${PV}.tar.gz"
+## Perhaps we should use git tags instead.
+
+inherit autotools
+
+do_configure_prepend() {
+	./autogen.sh
+}
diff --git a/recipes/zeromq/zeromq_2.1.6.bb b/recipes/zeromq/zeromq_2.1.6.bb
index ec291f5..8b06571 100644
--- a/recipes/zeromq/zeromq_2.1.6.bb
+++ b/recipes/zeromq/zeromq_2.1.6.bb
@@ -1,21 +1,8 @@ 
-DESCRIPTION = "ZeroMQ looks like an embeddable networking library but acts like a concurrency framework"
-HOMEPAGE = "http://www.zeromq.org"
-LICENSE = "LGPLv3+"
-LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=66ea8704398d7996daeacd2fbd2b9dbd"
+require zeromq.inc
 
 PR = "r0"
 
-DEPENDS += "util-linux-ng"
-
-S = "${WORKDIR}/zeromq-${PV}"
-
-SRC_URI = "http://download.zeromq.org/zeromq-${PV}.tar.gz"
-
-inherit autotools
-
-do_configure_prepend() {
-	./autogen.sh
-}
+SRC_URI = "http://download.zeromq.org/historic/zeromq-${PV}.tar.gz"
 
 SRC_URI[md5sum] = "77b9ca20e8f2426874022080f41d7b0b"
 SRC_URI[sha256sum] = "a1bbb352a9dbf34b18a3999b22a8db2d51e4a52508d098528d771811533f9fd0"
diff --git a/recipes/zeromq/zeromq_2.1.7.bb b/recipes/zeromq/zeromq_2.1.7.bb
new file mode 100644
index 0000000..1be6002
--- /dev/null
+++ b/recipes/zeromq/zeromq_2.1.7.bb
@@ -0,0 +1,8 @@ 
+require zeromq.inc
+
+PR = "r0"
+
+SRC_URI = "http://download.zeromq.org/historic/zeromq-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "7d3120f8a8fb913a7e55c57c6eb024f3"
+SRC_URI[sha256sum] = "2a1416d0a3ea55ae17d43417fd9bd193412cc9101e144bc8d3bd19fe36816e0d"
diff --git a/recipes/zeromq/zeromq_2.1.9.bb b/recipes/zeromq/zeromq_2.1.9.bb
new file mode 100644
index 0000000..7028891
--- /dev/null
+++ b/recipes/zeromq/zeromq_2.1.9.bb
@@ -0,0 +1,6 @@ 
+require zeromq.inc
+
+PR = "r0"
+
+SRC_URI[md5sum] = "94c5e0262a79c5f82bc0b178c1f8a33d"
+SRC_URI[sha256sum] = "f3542f756687e622beef3a75c8e027fe2d95d4654350cbca4c070ffc58d9ace0"