From ccc722b7ed330198d82a3cf28ead76d6d107a70a Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 6 Jun 2022 21:25:48 +0000 Subject: added java --- repo/zeromq/test-driver.patch | 11 +++++++++++ repo/zeromq/zeromq.xibuild | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 repo/zeromq/test-driver.patch create mode 100644 repo/zeromq/zeromq.xibuild (limited to 'repo/zeromq') 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 +} + -- cgit v1.2.1