blob: 449a9f37f72760c6c53260eca4e62f9caaeee35d (
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
30
31
32
33
|
# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=msgpack-c
_pkgname=msgpack-c-cpp
pkgver=3.2.0
pkgrel=0
pkgdesc="An efficient object serialization library"
url="https://msgpack.org"
arch="all"
license="BSL-1.0"
makedepends="cmake"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/msgpack/msgpack-c/archive/cpp-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
mkdir -p "$builddir"/build
cd "$builddir"/build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_FLAGS="$CFLAGS -DNDEBUG" \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -DNDEBUG" \
-DCMAKE_VERBOSE_MAKEFILE=TRUE
make
}
package() {
cd "$builddir"/build
make DESTDIR="$pkgdir"/ install
}
sha512sums="698fcdd5b427373997d0c89ff2cd09c44cf3b165defd381ff3cd9e14ecb83841064754a42aab99441a3b17aa26e3daec8f83e40d6d482c4b443b21b313278d14 msgpack-c-3.2.0.tar.gz"
|