2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: C ++/Boost Asio tabanlı websocket istemcisi/sunucu kitaplığı
|
|
|
|
|
# URL: http://www.zaphoyd.com/websocketpp/
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: cmake boost scons
|
2018-07-26 08:55:05 +02:00
|
|
|
|
# Grup: kütüphane
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|