summaryrefslogtreecommitdiff
path: root/repo/zeromq/zeromq.xibuild
blob: 7ff5563c3f0b7ae4e9dea4cf99137e7516ba4006 (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
#!/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
}