summaryrefslogtreecommitdiff
path: root/repo/zeromq/zeromq.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/zeromq/zeromq.xibuild')
-rw-r--r--repo/zeromq/zeromq.xibuild38
1 files changed, 38 insertions, 0 deletions
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
+}
+