testing/msgpack-c: new aport

https://msgpack.org
An efficient object serialization library
This commit is contained in:
Daniel Sabogal 2016-08-02 15:02:37 -04:00 committed by Bartłomiej Piotrowski
parent 424b4bcbcd
commit ca6479694b

View File

@ -0,0 +1,35 @@
# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
# Maintainer:
pkgname=msgpack-c
pkgver=2.0.0
pkgrel=0
pkgdesc="An efficient object serialization library"
url="https://msgpack.org"
arch="all"
license="Boost"
depends=""
depends_dev=""
makedepends="cmake"
install=""
subpackages="$pkgname-dev"
source="msgpack-c-$pkgver.zip::https://github.com/msgpack/$pkgname/archive/cpp-$pkgver.zip"
builddir="$srcdir"/msgpack-c-cpp-$pkgver
build() {
mkdir -p "$builddir"/build
cd "$builddir"/build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
|| return 1
make || return 1
}
package() {
cd "$builddir"/build
make DESTDIR="$pkgdir/" install || return 1
}
md5sums="d8d5bac93df93df10ce06fc2d6801039 msgpack-c-2.0.0.zip"
sha256sums="9f3860bc014355dbdf6519ffb78d54d120bb8d134dcb4eba35eb5103c1ac3cd1 msgpack-c-2.0.0.zip"
sha512sums="ad65a051f392a05a971b0dd1750d7af8b26e07c32e6eb7390a38ecad402f7ce0d3d3205b52c77ae1b82def8e7197f1df5cadbd9aa4d4087fc7f00e35c5a37d2e msgpack-c-2.0.0.zip"