]> gitweb.fluxo.info Git - trashman.git/commitdiff
Adds OpenWebRX
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 6 Oct 2018 19:59:36 +0000 (16:59 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 6 Oct 2018 19:59:36 +0000 (16:59 -0300)
share/trashman/openwebrx/info [new file with mode: 0644]
share/trashman/openwebrx/unix/linux/debian/install [new file with mode: 0755]

diff --git a/share/trashman/openwebrx/info b/share/trashman/openwebrx/info
new file mode 100644 (file)
index 0000000..26ade2c
--- /dev/null
@@ -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 (executable)
index 0000000..9d5ced5
--- /dev/null
@@ -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 )