From 23e9dbc3dcf0e170517f7513f9e3484fc6e1746e Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Sun, 7 Jun 2015 07:55:26 +0200 Subject: [PATCH] zeromq: update to 4.1.1 --- ...c9ec5b8886b291e3ad8b8a05b6d255822c8f.patch | 31 +++++++++++++++++++ srcpkgs/zeromq/template | 12 +++++-- 2 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/zeromq/patches/c75cc9ec5b8886b291e3ad8b8a05b6d255822c8f.patch diff --git a/srcpkgs/zeromq/patches/c75cc9ec5b8886b291e3ad8b8a05b6d255822c8f.patch b/srcpkgs/zeromq/patches/c75cc9ec5b8886b291e3ad8b8a05b6d255822c8f.patch new file mode 100644 index 00000000000..d1e754de435 --- /dev/null +++ b/srcpkgs/zeromq/patches/c75cc9ec5b8886b291e3ad8b8a05b6d255822c8f.patch @@ -0,0 +1,31 @@ +From c75cc9ec5b8886b291e3ad8b8a05b6d255822c8f Mon Sep 17 00:00:00 2001 +From: Jason Unovitch +Date: Sat, 6 Jun 2015 18:49:21 -0400 +Subject: [PATCH] Enable install of man pages when BUILD_DOC is not set by + shifting INSTALL_MAN outside of BUILD_DOC's if/endif + +--- + doc/Makefile.am | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/doc/Makefile.am b/doc/Makefile.am +index 0bc2e0e..d73e5b2 100644 +--- doc/Makefile.am ++++ doc/Makefile.am +@@ -28,13 +28,13 @@ MAINTAINERCLEANFILES = $(MAN_DOC) $(MAN_HTML) + + EXTRA_DIST = asciidoc.conf $(MAN_TXT) + +-if BUILD_DOC +-EXTRA_DIST += $(MAN_HTML) +- + if INSTALL_MAN + dist_man_MANS = $(MAN_DOC) + endif + ++if BUILD_DOC ++EXTRA_DIST += $(MAN_HTML) ++ + SUFFIXES=.html .txt .xml .3 .7 + + .txt.html: diff --git a/srcpkgs/zeromq/template b/srcpkgs/zeromq/template index 79850e081ce..bb98eaa7f57 100644 --- a/srcpkgs/zeromq/template +++ b/srcpkgs/zeromq/template @@ -1,16 +1,22 @@ # Template file for 'zeromq' pkgname=zeromq -version=4.0.6 +version=4.1.1 revision=1 build_style=gnu-configure -hostmakedepends="pkg-config" +# automake, libtool and pre_configure only for patch. patch shouldn't +# be needed in the next version. +hostmakedepends="pkg-config automake libtool" makedepends="libsodium-devel" short_desc="The Intelligent Transport Layer" maintainer="Juan RP " license="LGPL-2.1" homepage="http://www.zeromq.org" distfiles="http://download.zeromq.org/zeromq-${version}.tar.gz" -checksum=28a2a9c9b77014c39087a498942449df18bb9885cdb63334833525a1d19f2894 +checksum=43d61e5706b43946aad4a661400627bcde9c63cc25816d4749c67b64c3dab8db + +pre_configure() { + autoreconf -fi +} zeromq-devel_package() { depends="${sourcepkg}>=${version}_${revision}"