milis/talimatname/genel/u/uwebsockets/talimat

20 lines
533 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: uWS etkin,hafif websocket kütüphanesi
# URL: https://github.com/uWebSockets/uWebSockets
# Paketçi: milisarge
# Gerekler:
# Grup: kütüphane
isim=uwebsockets
surum=0.14.6
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"
}