milis/talimatname/genel/u/uwebsockets/talimat

19 lines
513 B
Plaintext
Raw Normal View History

2017-12-09 23:57:39 +01:00
# Tanım: uWS etkin,hafif websocket kütüphanesi
# URL: https://github.com/uWebSockets/uWebSockets
# Paketçi: milisarge
# Gerekler:
isim=uwebsockets
surum=0.14.4
devir=1
kaynak=(https://github.com/uNetworking/uWebSockets/archive/v${surum}.tar.gz::uWebSockets-${surum}.tar.gz)
derle() {
cd uWebSockets-${surum}
make
mkdir -p "${PKG}/usr/lib"
mv "${SRC}/uWebSockets-${surum}/libuWS.so" "${PKG}/usr/lib"
mkdir -p "${PKG}/usr/include/uWS"
mv "${SRC}/uWebSockets-${surum}/src/"*.h "${PKG}/usr/include/uWS"
}