kopia lustrzana https://github.com/km4ack/pi-build
Merge 4867ebc0bd
into 929918c921
commit
91ab296c9b
|
@ -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}')
|
||||
|
|
|
@ -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] |
|
||||
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue