aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cppzmq/APKBUILD
blob: f0a164940760c8a400733f86d109da04df8d49f3 (plain) (blame)
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
# Contributor: Andreas Laghamn <andreas.laghamn@gmail.com>
# Maintainer: Andreas Laghamn <andreas.laghamn@gmail.com>
pkgname=cppzmq
pkgver=4.6.0
pkgrel=0
pkgdesc="High-level C++ binding for ZeroMQ"
url="https://github.com/zeromq/cppzmq"
arch="noarch"
license="MIT"
makedepends="cmake zeromq-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/zeromq/cppzmq/archive/v$pkgver.tar.gz"

build() {
	cmake \
	      -DCMAKE_BUILD_TYPE=Release \
	      -DCMAKE_INSTALL_PREFIX=/usr \
	      -DCMAKE_VERBOSE_MAKEFILE=ON \
		  -DCPPZMQ_BUILD_TESTS=ON
	make
}

check() {
	ctest
}

package() {
	  make DESTDIR="$pkgdir" install
}
sha512sums="f30b37c970790de2684086638084e65310396072c1c1d00415c9a36b7ef6d79fe500ce174fddab699a602a80341e2fb7f309dec2eb96252531b5ca5cf7ac5027  cppzmq-4.6.0.tar.gz"