msgpack-c.guncellendi

This commit is contained in:
milisbir 2017-10-16 04:34:37 +03:00
parent a139f387d8
commit ed1ff3b1ea
1 changed files with 8 additions and 7 deletions

View File

@ -4,16 +4,17 @@
# Depends on: cmake
name=msgpack-c
version=2.0.0
version=2.1.5
release=1
source=(https://github.com/msgpack/msgpack-c/archive/cpp-$version.tar.gz)
source=(https://github.com/msgpack/msgpack-c/releases/download/cpp-${version}/msgpack-${version}.tar.gz)
build() {
cd $name-cpp-$version
mkdir build ; cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
cd msgpack-$version
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DMSGPACK_CXX11=ON \
-DMSGPACK_BUILD_EXAMPLES=OFF \
-DCMAKE_BUILD_TYPE=Release \
.
make
make DESTDIR=$PKG install
}