aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cppzmq/APKBUILD
blob: 682b4c607398c2d0e7845a3e404feedcd694a52a (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
# Contributor: Andreas Laghamn <andreas.laghamn@gmail.com>
# Maintainer: Andreas Laghamn <andreas.laghamn@gmail.com>
pkgname=cppzmq
pkgver=4.4.1
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="5178a24413e44a6d99e57db7c9859c72279304272baa0e1fb810174cdf592cb567cab98428ef3ab611042bdf4bc506867421662409d1f0d82c233cb83ebdb801  cppzmq-4.4.1.tar.gz"