diff options
-rw-r--r-- | share/trashman/openwebrx/info | 1 | ||||
-rwxr-xr-x | share/trashman/openwebrx/unix/linux/debian/install | 35 |
2 files changed, 36 insertions, 0 deletions
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 ) |