summaryrefslogtreecommitdiff
path: root/repo/zeromq/zeromq.xibuild
blob: ebec431b9d9380d3eb04a46c14ff351cd5873102 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/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 \
        --disable-Werror
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$PKG_DEST" install
}