22 lines
507 B
Plaintext
22 lines
507 B
Plaintext
# Tanım: C ++/Boost Asio tabanlı websocket istemcisi/sunucu kitaplığı
|
||
# URL: http://www.zaphoyd.com/websocketpp/
|
||
# Paketçi: milisarge
|
||
# Gerekler: cmake boost scons
|
||
|
||
isim=websocketpp
|
||
surum=0.7.0
|
||
devir=1
|
||
kaynak=(https://github.com/zaphoyd/${isim}/archive/${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
|
||
}
|