Comments
Patch
new file mode 100644
@@ -0,0 +1,20 @@
+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"
+
+## 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
+}
@@ -1,19 +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"
-
-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"
new file mode 100644
@@ -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"
new file mode 100644
@@ -0,0 +1,6 @@
+require zeromq.inc
+
+PR = "r0"
+
+SRC_URI[md5sum] = "94c5e0262a79c5f82bc0b178c1f8a33d"
+SRC_URI[sha256sum] = "f3542f756687e622beef3a75c8e027fe2d95d4654350cbca4c070ffc58d9ace0"
When a version becomes older they move it to /historic/ directory, hence SRC_URIs are needed for older versions. Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com> --- recipes/zeromq/zeromq.inc | 20 ++++++++++++++++++++ recipes/zeromq/zeromq_2.1.6.bb | 15 ++------------- recipes/zeromq/zeromq_2.1.7.bb | 8 ++++++++ recipes/zeromq/zeromq_2.1.9.bb | 6 ++++++ 4 files changed, 36 insertions(+), 13 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