websocketpp.eklendi

This commit is contained in:
milisman 2016-12-25 08:17:10 +02:00
parent 3124a82125
commit 9d568e60af
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
# Description: C++/Boost Asio based websocket client/server library
# URL: http://www.zaphoyd.com/websocketpp/
# Packager: milisarge
# Depends on: cmake boost scons
name=websocketpp
version=0.7.0
release=1
source=(https://github.com/zaphoyd/${name}/archive/${version}.tar.gz)
build() {
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 ..
)
cd ${name}-${version}
WSPP_ENABLE_CPP11=1 \
BOOST_LIBS=/usr/lib \
BOOST_INCLUDES=/usr/include/boost \
scons test
cd ${name}-${version}
make -C build DESTDIR="${PKG}" install
}