milis/talimatname/genel/m/msgpack-c/talimat

21 lines
501 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Verimli bir nesne serileştirme kitaplığı, C / C ++ sürümü.
2017-04-04 14:12:00 +02:00
# URL: https://github.com/msgpack/msgpack-c
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: cmake
2016-07-14 13:30:30 +02:00
name=msgpack-c
2017-10-16 03:34:37 +02:00
version=2.1.5
2016-07-14 13:30:30 +02:00
release=1
2017-10-16 03:34:37 +02:00
source=(https://github.com/msgpack/msgpack-c/releases/download/cpp-${version}/msgpack-${version}.tar.gz)
2016-07-14 13:30:30 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-16 03:34:37 +02:00
cd msgpack-$version
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DMSGPACK_CXX11=ON \
-DMSGPACK_BUILD_EXAMPLES=OFF \
-DCMAKE_BUILD_TYPE=Release \
.
2016-07-14 13:30:30 +02:00
make
make DESTDIR=$PKG install
}