mirror of
https://github.com/km4ack/73Linux
synced 2026-08-13 17:51:54 -04:00
add python binding
This commit is contained in:
parent
56c08d90ea
commit
684c09ee92
1 changed files with 3 additions and 2 deletions
|
|
@ -23,7 +23,8 @@ CLEANSOURCE(){
|
|||
|
||||
PACKAGE=hamlib
|
||||
CLEANSOURCE
|
||||
sudo -A apt install -y libusb-1.0-0 libusb-1.0-0-dev libnova-0.16-0 libnova-dev
|
||||
sudo -A apt install -y libusb-1.0-0 libusb-1.0-0-dev libnova-0.16-0 libnova-dev swig libindi-dev libindi-data libindi-plugins
|
||||
pyver=$(python3 -V | awk '{print $2}' | awk -F. '{print $1"."$2}')
|
||||
cd ${BAPSRC}
|
||||
NEWRIG=$(curl -s https://sourceforge.net/projects/hamlib/files/latest/download |
|
||||
grep -o https://downloads.sourceforge.net/project/hamlib/hamlib/[0-9].[0-9].[0-9] |
|
||||
|
|
@ -33,7 +34,7 @@ CLEANSOURCE(){
|
|||
tar -xzf hamlib-${NEWRIG}.tar.gz
|
||||
rm hamlib-${NEWRIG}.tar.gz
|
||||
cd hamlib-${NEWRIG} || return
|
||||
./configure
|
||||
./configure --with-python-binding PYTHON_VERSION=$pyver
|
||||
make
|
||||
sudo -A make install
|
||||
sudo -A ldconfig
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue