milis/talimatname/genel/websocketpp/talimat

22 lines
522 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: C ++/Boost Asio tabanlı websocket istemcisi/sunucu kitaplığı
# 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 ..
)
make -C build DESTDIR="${PKG}" install
}