From ae2fd8bd1364ba44b6e9c60af54d0dcb1b8453b4 Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Sat, 7 Aug 2021 10:57:48 +0200 Subject: [PATCH] Add files via upload --- tools/install-codec2-FreeDATA.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tools/install-codec2-FreeDATA.sh diff --git a/tools/install-codec2-FreeDATA.sh b/tools/install-codec2-FreeDATA.sh new file mode 100644 index 00000000..2d116419 --- /dev/null +++ b/tools/install-codec2-FreeDATA.sh @@ -0,0 +1,26 @@ +#/bin/bash + +cd ~ +rm -rf codec2-FreeDATA +#git clone --branch master https://github.com/DJ2LS/codec2-FreeDATA.git +git clone https://github.com/DJ2LS/codec2-FreeDATA.git + +cd ~/codec2-FreeDATA/tnc +rm -rf codec2 +git clone https://github.com/drowe67/codec2.git +cd codec2 && mkdir build_linux && cd build_linux +cmake ../ +make + + +cd ~/codec2-FreeDATA/tnc +rm -rf LPCNet +git clone https://github.com/drowe67/LPCNet +cd LPCNet && mkdir build_linux && cd build_linux +cmake -DCODEC2_BUILD_DIR=~/codec2-FreeDATA/tnc/codec2/build_linux ../ +make + + +cd ~/codec2-FreeDATA/codec2/build_linux && rm -Rf * +cmake -DLPCNET_BUILD_DIR=~/codec2-FreeDATA/tnc/LPCNet/build_linux .. +make