Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app-check
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ if ! hash rigctl 2>/dev/null; then
else
echo "Checking Rig Control"
RIG=$(rigctl --version | grep Hamlib | sed s/"rigctl(d),\ Hamlib\ "//)
CURRENT=$(rigctl --version | sed 's/rigctl Hamlib //' | cut -d " " -f1)
NEWRIG=$(curl -s https://sourceforge.net/projects/hamlib/files/latest/download |
grep -o https://downloads.sourceforge.net/project/hamlib/hamlib/[0-9].[0-9] |
head -n 1 | awk -F "/" '{print $7}')
Expand Down
4 changes: 2 additions & 2 deletions functions/base.function
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ VARA() {
HAMLIB() {
PACKAGE=hamlib
CLEANSOURCE
sudo apt install libusb-1.0-0 libusb-1.0-0-dev
sudo apt install -y libusb-1.0-0 libusb-1.0-0-dev swig
cd ${BUILDDIR} || return
NEWRIG=$(curl -s https://sourceforge.net/projects/hamlib/files/latest/download |
grep -o https://downloads.sourceforge.net/project/hamlib/hamlib/[0-9].[0-9] |
Expand All @@ -206,7 +206,7 @@ HAMLIB() {
tar -xzf hamlib-${NEWRIG}.tar.gz
rm hamlib-${NEWRIG}.tar.gz
cd hamlib-${NEWRIG} || return
./configure
./configure --with-python-binding
make
sudo make install
sudo ldconfig
Expand Down