diff options
Diffstat (limited to 'repo/zeromq')
-rw-r--r-- | repo/zeromq/test-driver.patch | 11 | ||||
-rw-r--r-- | repo/zeromq/zeromq.xibuild | 38 |
2 files changed, 49 insertions, 0 deletions
diff --git a/repo/zeromq/test-driver.patch b/repo/zeromq/test-driver.patch new file mode 100644 index 0000000..f8b7fe3 --- /dev/null +++ b/repo/zeromq/test-driver.patch @@ -0,0 +1,11 @@ +--- a/config/test-driver ++++ b/config/test-driver +@@ -104,7 +104,7 @@ + trap "st=143; $do_exit" 15 + + # Test script is run here. +-"$@" >$log_file 2>&1 ++: "$@" >$log_file 2>&1 + estatus=$? + if test $enable_hard_errors = no && test $estatus -eq 99; then + estatus=1 diff --git a/repo/zeromq/zeromq.xibuild b/repo/zeromq/zeromq.xibuild new file mode 100644 index 0000000..7ff5563 --- /dev/null +++ b/repo/zeromq/zeromq.xibuild @@ -0,0 +1,38 @@ +#!/bin/sh + +NAME="zeromq" +DESC="The ZeroMQ messaging library and tools" + +MAKEDEPS="util-linux libsodium perl asciidoc xmlto autoconf automake" + +PKG_VER=4.3.4 +SOURCE="https://github.com/zeromq/libzmq/releases/download/v$PKG_VER/zeromq-$PKG_VER.tar.gz" + +ADDITIONAL=" +test-driver.patch +" + +prepare () { + apply_patches +} + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-libsodium + make +} + +check() { + make check +} + +package() { + make DESTDIR="$PKG_DEST" install +} + |