cargomedia / debian-packages

Custom debian packages
8 stars 5 forks source link

janus rtpbroadcast plugin #46

Closed dergraf closed 8 years ago

dergraf commented 8 years ago
GIT_REPO='janus-gateway-<%= @name %>'
JANUS_VERSION='<%= @janus_version %>'

rm -rf $GIT_REPO
if (git clone --recursive https://github.com/cargomedia/$GIT_REPO.git | grep -vqE "^Submodule+.+janus-gateway.+$JANUS_VERSION'"); then
    cd $GIT_REPO/janus-gateway
    git checkout $JANUS_VERSION
    cd -
fi
cd $GIT_REPO
./autogen.sh
./configure --prefix=/opt/janus
make
make install
mv -f /opt/janus/etc/janus/* /etc/janus
dergraf commented 8 years ago

@ppp0 please review

ppp0 commented 8 years ago

lgtm