diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-10-02 21:07:29 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-10-02 21:07:29 +0200 |
commit | 356a41eea9a8da5225d80bf4092d3de8b4d7bbdc (patch) | |
tree | 044e7bce3dad52491bb02471547c0e5bf2a59588 /community/czmq | |
parent | fe7135ede486e1d4befe92825a25887fdc1c4c93 (diff) | |
download | aports-356a41eea9a8da5225d80bf4092d3de8b4d7bbdc.tar.bz2 aports-356a41eea9a8da5225d80bf4092d3de8b4d7bbdc.tar.xz |
community/czmq: move from testing
Diffstat (limited to 'community/czmq')
-rw-r--r-- | community/czmq/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/czmq/APKBUILD b/community/czmq/APKBUILD new file mode 100644 index 0000000000..7bd9089d39 --- /dev/null +++ b/community/czmq/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Jakub Jirutka <jakub@jirutka.cz> +# Maintainer: Jakub Jirutka <jakub@jirutka.cz> +pkgname=czmq +pkgver=4.0.2 +pkgrel=0 +pkgdesc="High-level C binding for ZeroMQ" +url="http://czmq.zeromq.org/" +arch="all" +license="MPL-2.0" +makedepends="cmake zeromq-dev" +subpackages="$pkgname-dev" +source="https://github.com/zeromq/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + + # Note: One test segfaults when built with MinSizeRel (-Os). + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_VERBOSE_MAKEFILE=ON + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="f4172f0735d69c779d407e7112ceb1dd160a2139f68c504e1fafde2aa899993512d40afe72a0bc4d5dac196dfe0aee4e59defd6d8c0c44299f6e7c74294b0b35 czmq-4.0.2.tar.gz" |