From a59e21f8d55e4a80049bb406d7829b416bfc3646 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 6 Oct 2018 16:59:36 -0300 Subject: Adds OpenWebRX --- share/trashman/openwebrx/info | 1 + share/trashman/openwebrx/unix/linux/debian/install | 35 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 share/trashman/openwebrx/info create mode 100755 share/trashman/openwebrx/unix/linux/debian/install (limited to 'share') 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 ) -- cgit v1.2.3