fldigi - Add custom et-portaudio comment to system-wide installer

This commit is contained in:
thetechprepper
2025-10-02 13:42:13 -07:00
parent 6021b14243
commit 944b06e7f9
5 changed files with 59 additions and 1 deletions
+32
View File
@@ -0,0 +1,32 @@
#!/bin/bash
# Author : Gaston Gonzalez
# Date : 2 October 2025
# Purpose : Builds and installs et-portaudio
set -e
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR
. ./env.sh
APP="et-portaudio"
VERSION="1.0.0"
APP_AND_VERSION="${APP}-${VERSION}"
INSTALL_DIR="/opt/${APP_AND_VERSION}"
INSTALL_BIN_DIR="${INSTALL_DIR}/bin"
LINK_PATH="/opt/${APP}"
et-log "Installing ${APP} ${VERSION}"
CWD_DIR=`pwd`
cd ../src/et-portaudio
# Compile
make install
[[ -e ${LINK_PATH} ]] && rm ${LINK_PATH}
ln -v -s ${INSTALL_DIR} ${LINK_PATH}
stow -v -d /opt ${APP} -t /usr/local
cd ${CWD}
+3 -1
View File
@@ -2,7 +2,7 @@
#
# Author : Gaston Gonzalez
# Date : 16 March 2024
# Updated : 30 September 2025
# Updated : 2 October 2025
# Purpose : Main installer for EmComm Tools Community (ETC)
. ./env.sh
@@ -90,4 +90,6 @@ exitIfNotRoot
# Install fldigi suite
./install-fldigi.sh
./install-et-portaudio.sh
# TODO: add installers for flmsg and flamp