22 lines
522 B
Plaintext
22 lines
522 B
Plaintext
# 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
|
||
}
|