aboutsummaryrefslogtreecommitdiff
path: root/share/hoarder/pybombs/unix/linux/debian/install
diff options
context:
space:
mode:
Diffstat (limited to 'share/hoarder/pybombs/unix/linux/debian/install')
-rwxr-xr-xshare/hoarder/pybombs/unix/linux/debian/install34
1 files changed, 34 insertions, 0 deletions
diff --git a/share/hoarder/pybombs/unix/linux/debian/install b/share/hoarder/pybombs/unix/linux/debian/install
new file mode 100755
index 0000000..76d2cce
--- /dev/null
+++ b/share/hoarder/pybombs/unix/linux/debian/install
@@ -0,0 +1,34 @@
+#!/usr/bin/env sh
+#
+# Install PyBOMBS
+#
+
+# Parameters
+SHARE="$1"
+LIB="$2"
+
+# Include basic functions
+. $LIB/trashman/functions || exit 1
+. $LIB/trashman/debian || exit 1
+
+# Additional parameters
+PREFIX="$HOME/.local/share/pybombs/prefix-3.8"
+PYBOMBS="$HOME/.local/bin/pybombs"
+
+# Requirements
+trashman_apt_install python3-pip
+
+# Install PyBOMBS
+pip3 install pybombs
+mkdir -p $HOME/.local/share/pybombs
+
+# Configure PyBOMBS
+$PYBOMBS auto-config
+$PYBOMBS recipes add-defaults
+
+# Install gnuradio
+$PYBOMBS prefix init $PREFIX -R gnuradio-default
+
+# Process environment and run a command
+#source $PREFIX/setup_env.sh
+#gnuradio-companion