add perseus basic build (not enabled for now)

This commit is contained in:
Jakob Ketterl 2020-03-21 18:58:03 +01:00
parent 2505e95d1c
commit 05485ba8e3
3 changed files with 32 additions and 1 deletions

View File

@ -14,7 +14,7 @@ RUN /install-dependencies-rtlsdr.sh &&\
/install-dependencies-limesdr.sh &&\
/install-dependencies-soapyremote.sh &&\
rm /install-dependencies-*.sh &&\
rm /install-libp.*.patch
rm /install-lib.*.patch
ADD docker/scripts/install-connectors.sh /
RUN /install-connectors.sh &&\

View File

@ -0,0 +1,7 @@
ARG ARCHTAG
FROM openwebrx-base:$ARCHTAG
ADD docker/scripts/install-dependencies-perseus.sh /
RUN /install-dependencies-perseus.sh &&\
rm /install-dependencies-perseus.sh

View File

@ -0,0 +1,24 @@
#!/usr/bin/env bash
set -euxo pipefail
export MAKEFLAGS="-j4"
cd /tmp
STATIC_PACKAGES="libusb udev"
BUILD_PACKAGES="git make gcc autoconf automake libtool musl-dev libusb-dev shadow"
apk add --no-cache $STATIC_PACKAGES
apk add --no-cache --virtual .build-deps $BUILD_PACKAGES
git clone https://github.com/Microtelecom/libperseus-sdr.git
cd libperseus-sdr
git checkout 72ac67c5b7936a1991be0ec97c03a59c1a8ac8f3
./bootstrap.sh
./configure
make
make install
ldconfig /etc/ld.so.conf.d
cd ..
rm -rf libperseus-sdr
apk del .build-deps