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

22 lines
508 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Verimli bir nesne serileştirme kitaplığı, C/C++ sürümü.
# URL: https://github.com/msgpack/msgpack-c
# Paketçi: milisarge
# Gerekler: cmake
# Grup: kütüphane
isim=msgpack-c
surum=2.1.5
devir=1
kaynak=(https://github.com/msgpack/msgpack-c/releases/download/cpp-${surum}/msgpack-${surum}.tar.gz)
derle() {
cd msgpack-$surum
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DMSGPACK_CXX11=ON \
-DMSGPACK_BUILD_EXAMPLES=OFF \
-DCMAKE_BUILD_TYPE=Release \
.
make
make DESTDIR=$PKG install
}