milis/talimatname/genel/w/websocketpp/talimat

23 lines
552 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: C ++/Boost Asio tabanlı websocket istemcisi/sunucu kitaplığı
# URL: http://www.zaphoyd.com/websocketpp/
# Paketçi: milisarge
# Gerekler: cmake boost scons
# Grup: kütüphane
isim=websocketpp
surum=0.7.0
devir=1
kaynak=(https://github.com/zaphoyd/${isim}/archive/${surum}.tar.gz::${isim}-${surum}.tar.gz)
derle() {
cd ${isim}-${surum}
WSPP_ENABLE_CPP11=1 \
BOOST_LIBS=/usr/lib \
BOOST_INCLUDES=/usr/include/boost \
scons "${MAKEFLAGS}"
(cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
)
make -C build DESTDIR="${PKG}" install
}