milis/talimatname/genel/w/websocketpp/talimat

22 lines
515 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
name=websocketpp
version=0.7.0
release=1
source=(https://github.com/zaphoyd/${name}/archive/${version}.tar.gz)
2017-10-27 23:59:41 +02:00
derle() {
2016-12-25 07:17:10 +01:00
cd ${name}-${version}
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
}