blob: 1738f5553586174afbef8cbabb99498aee95fa3b (
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.2.3
pkgrel=0
pkgdesc="High-level C++ binding for ZeroMQ"
url="https://github.com/zeromq/cppzmq"
arch="noarch"
license="MIT"
options="!check" # No test suite
makedepends="cmake zeromq-dev"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/zeromq/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_VERBOSE_MAKEFILE=ON
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="462730e81c275bfbd7e39a8299ca9e202e6cc74e08074a161976e3bc92d54f4ae1d01e4d19c9b453bee6fed14921e9a207222c646085535e8a94872751551fc3 cppzmq-4.2.3.tar.gz"
|