milis/talimatname/genel/w/websocketpp/talimat

22 lines
532 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: C ++/Boost Asio tabanlı websocket istemcisi/sunucu kitaplığı
2016-12-25 07:17:10 +01:00
# URL: http://www.zaphoyd.com/websocketpp/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: cmake boost scons
2016-12-25 07:17:10 +01:00
2017-10-28 14:10:23 +02:00
isim=websocketpp
surum=0.7.0
devir=1
2017-12-08 14:20:31 +01:00
kaynak=(https://github.com/zaphoyd/${isim}/archive/${surum}.tar.gz::${isim}-${surum}.tar.gz)
2016-12-25 07:17:10 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd ${isim}-${surum}
2016-12-25 07:17:10 +01:00
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
}