Commit 0bc27b1b authored by Natanael Copa's avatar Natanael Copa

Revert "main/czmq: backport from master to fix tests on s390x"

Unbreak builds on aarch64, armhf, x86 and x86_64

This reverts commit fd5c3e8f.
parent fd5c3e8f
......@@ -2,35 +2,31 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=czmq
pkgver=4.1.1
pkgrel=1
pkgrel=2
pkgdesc="High-level C binding for ZeroMQ"
url="http://czmq.zeromq.org/"
arch="all"
arch="all !s390x" # zproxy test timeouts on s390x
license="MPL-2.0"
depends_dev="util-linux-dev zeromq-dev"
makedepends="$depends_dev libtool autoconf automake"
makedepends="$depends_dev cmake"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/zeromq/$pkgname/archive/v$pkgver.tar.gz
zproc_zsp.patch
"
source="$pkgname-$pkgver.tar.gz::https://github.com/zeromq/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
cd "$builddir"
./autogen.sh
}
build() {
cd "$builddir"
./configure \
--prefix=/usr \
--with-libsystemd=no
make -j1
# Note: One test segfaults when built with MinSizeRel (-Os).
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_VERBOSE_MAKEFILE=ON
make
}
check() {
cd "$builddir"
make -j1 check
make test
}
package() {
......@@ -38,5 +34,4 @@ package() {
make install DESTDIR="$pkgdir"
}
sha512sums="c36d509e154a2142154f339294375bab0f6a2752f025a4489067bbddb22c4ef8f8e501797e755ac3779aa5c1c19397d32f7195ba80ae6b81e349f22c7634fb91 czmq-4.1.1.tar.gz
647c4915220f8e668750495b7511b60e8cf67b677de920176905797d76ed6fad7b63c5cc930a6635f77fb9c0c28427f7c6662df5de18e91412c3c76dde43e6a9 zproc_zsp.patch"
sha512sums="c36d509e154a2142154f339294375bab0f6a2752f025a4489067bbddb22c4ef8f8e501797e755ac3779aa5c1c19397d32f7195ba80ae6b81e349f22c7634fb91 czmq-4.1.1.tar.gz"
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment