# Description: General purpose WebRTC Gateway # URL: https://janus.conf.meetecho.com/ # Maintainer: #teatime (irc.kyber.io), teatime at kyber dot io # Depends on: libsrtp usrsctp libnice curl libopus jansson sofia-sip gengetopt opus libmicrohttpd libwebsockets name=janus-gateway version=0.2.3 release=1 source=(https://github.com/meetecho/$name/archive/v$version.tar.gz) build() { cd $name-$version ./autogen.sh ./configure --prefix=/usr --sysconfdir=/etc --disable-docs --enable-rest --enable-websockets --disable-rabbitmq --disable-mqtt sed -i 's/JANUS_MANUAL_LIBS = /JANUS_MANUAL_LIBS = -lcurl -lsrtp -lusrsctp -lm/' Makefile MAKEFLAGS=-j1 make DESTDIR=$PKG make DESTDIR=$PKG install configs rm -f $PKG/usr/share/janus/certs/mycert.{key,pem} }