From: Silvio Rhatto Date: Sat, 6 Oct 2018 19:59:36 +0000 (-0300) Subject: Adds OpenWebRX X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=a59e21f8d55e4a80049bb406d7829b416bfc3646;p=trashman.git Adds OpenWebRX --- diff --git a/share/trashman/openwebrx/info b/share/trashman/openwebrx/info new file mode 100644 index 0000000..26ade2c --- /dev/null +++ b/share/trashman/openwebrx/info @@ -0,0 +1 @@ +open source, multi-user SDR receiver software with a web interface http://openwebrx.org diff --git a/share/trashman/openwebrx/unix/linux/debian/install b/share/trashman/openwebrx/unix/linux/debian/install new file mode 100755 index 0000000..9d5ced5 --- /dev/null +++ b/share/trashman/openwebrx/unix/linux/debian/install @@ -0,0 +1,35 @@ +#!/bin/bash + +# Parameters +SHARE="$1" + +# Include basic functions +. $SHARE/trashman/functions || exit 1 +. $SHARE/trashman/debian || exit 1 + +# Requirements +trashman_apt_install_packages git rtl-sdr libfftw3-dev + +# Download csdr +if [ -d "/usr/local/src/csdr" ]; then + ( cd /usr/local/src/csdr && git pull ) +else + git clone https://github.com/simonyiszk/csdr /usr/local/src/csdr +fi + +# Download openwebrx +if [ -d "/usr/local/src/openwebrx" ]; then + ( cd /usr/local/src/openwebrx && git pull ) +else + git clone https://github.com/simonyiszk/openwebrx /usr/local/src/openwebrx +fi + +# Build csdr +( + cd /usr/local/src/csdr + make + make install +) + +# Run openwebrx as regular user +# ( cd /usr/local/src/openwebrx && python openwebrx.py )