add perseus basic build (not enabled for now)
This commit is contained in:
parent
2505e95d1c
commit
05485ba8e3
@ -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 &&\
|
||||
|
7
docker/Dockerfiles/Dockerfile-perseus
Normal file
7
docker/Dockerfiles/Dockerfile-perseus
Normal 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
|
||||
|
24
docker/scripts/install-dependencies-perseus.sh
Executable file
24
docker/scripts/install-dependencies-perseus.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user