# Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> setvar pkgname = 'zeromq' setvar pkgver = '4.2.2' setvar pkgrel = '2' setvar pkgdesc = ""The ZeroMQ messaging library and tools"" setvar url = ""http://www.zeromq.org/"" setvar arch = ""all"" setvar license = ""LGPLv3+ with exceptions"" setvar makedepends = ""util-linux-dev libsodium-dev perl python2 asciidoc xmlto autoconf automake "" setvar subpackages = ""$pkgname-dev $pkgname-doc libzmq:libs"" setvar source = ""https://github.com/zeromq/libzmq/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz test-driver.patch "" setvar builddir = ""$srcdir/$pkgname-$pkgver"" proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-libsodium \ || return 1 make || return 1 } proc check { cd $builddir make check } proc package { cd $builddir make DESTDIR="$pkgdir" install || return 1 } setvar sha512sums = ""d78813a61ce3311a1f8c230f7da0f5aedc97ef4b792afb6d398c5710da239348c0c7a67bdfeb38a7ab0282af498f1ed173649aff4add1bc35f0ef1b66f965443 zeromq-4.2.2.tar.gz 64e4ae2c89469359480743beeb4f1e08976a4c52dbfd2dd33020463df78e927993319e456299682901001e0832ebed85291eea0decc1d27a58de78a6c891e660 test-driver.patch""