talimat 552 B

1234567891011121314151617181920212223
  1. # Tanım: C ++/Boost Asio tabanlı websocket istemcisi/sunucu kitaplığı
  2. # URL: http://www.zaphoyd.com/websocketpp/
  3. # Paketçi: milisarge
  4. # Gerekler: cmake boost scons
  5. # Grup: kütüphane
  6. isim=websocketpp
  7. surum=0.7.0
  8. devir=1
  9. kaynak=(https://github.com/zaphoyd/${isim}/archive/${surum}.tar.gz::${isim}-${surum}.tar.gz)
  10. derle() {
  11. cd ${isim}-${surum}
  12. WSPP_ENABLE_CPP11=1 \
  13. BOOST_LIBS=/usr/lib \
  14. BOOST_INCLUDES=/usr/include/boost \
  15. scons "${MAKEFLAGS}"
  16. (cd build
  17. cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  18. )
  19. make -C build DESTDIR="${PKG}" install
  20. }