# Tanım: C ++/Boost Asio tabanlı websocket istemcisi/sunucu kitaplığı
# URL: http://www.zaphoyd.com/websocketpp/
# Paketçi: milisarge
# Gerekler: cmake boost scons
# Grup: kütüphane

isim=websocketpp
surum=0.7.0
devir=1
kaynak=(https://github.com/zaphoyd/${isim}/archive/${surum}.tar.gz::${isim}-${surum}.tar.gz)

derle() {
	cd ${isim}-${surum}
	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
}
