From 9d568e60af4aa24ff43e4293da11a97abe0a5e28 Mon Sep 17 00:00:00 2001 From: milisman Date: Sun, 25 Dec 2016 08:17:10 +0200 Subject: [PATCH] websocketpp.eklendi --- talimatname/genel/websocketpp/talimat | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 talimatname/genel/websocketpp/talimat diff --git a/talimatname/genel/websocketpp/talimat b/talimatname/genel/websocketpp/talimat new file mode 100644 index 000000000..b235c714a --- /dev/null +++ b/talimatname/genel/websocketpp/talimat @@ -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 +}