From 439e087cbc16e282271183c3d023a1a3e2901452 Mon Sep 17 00:00:00 2001 From: pa3gsb Date: Fri, 14 Aug 2020 16:50:42 +0200 Subject: [PATCH] wdsp+pihpsdr first attempt. --- .../stage4/50-pisdr-pihpsdr/00-packages-nr | 8 +++++++ builder/stage4/50-pisdr-pihpsdr/00-run.sh | 23 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 builder/stage4/50-pisdr-pihpsdr/00-packages-nr create mode 100644 builder/stage4/50-pisdr-pihpsdr/00-run.sh diff --git a/builder/stage4/50-pisdr-pihpsdr/00-packages-nr b/builder/stage4/50-pisdr-pihpsdr/00-packages-nr new file mode 100644 index 0000000..b9dc368 --- /dev/null +++ b/builder/stage4/50-pisdr-pihpsdr/00-packages-nr @@ -0,0 +1,8 @@ +libfftw3-dev +libasound2-dev +portaudio19-dev +libpulse-dev +libgtk-3-dev +libcurl4-openssl-dev +libusb-1.0-0-dev +wiringpi \ No newline at end of file diff --git a/builder/stage4/50-pisdr-pihpsdr/00-run.sh b/builder/stage4/50-pisdr-pihpsdr/00-run.sh new file mode 100644 index 0000000..d48410d --- /dev/null +++ b/builder/stage4/50-pisdr-pihpsdr/00-run.sh @@ -0,0 +1,23 @@ +#!/bin/bash -e + +on_chroot << EOF + +mkdir hpsdr +cd hpsdr +git clone https://github.com/g0orx/wdsp + +cd wdsp +make +make install +ldconfig + +cd .. +git clone https://github.com/g0orx/pihpsdr +cd pihpsdr + +make +chown root pihpsdr +chmod u+s pihpsdr +cp relase/pihpsdr/hpsdr.png . + +EOF \ No newline at end of file