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
|
2018-04-11 04:51:13 +02:00
|
|
|
|
surum=0.14.6
|
2017-12-09 23:57:39 +01:00
|
|
|
|
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"
|
|
|
|
|
}
|