kopia lustrzana https://github.com/km4ack/pi-build
build cqrlog from source
rodzic
592640c127
commit
e8bfdfe7e0
|
@ -207,7 +207,40 @@ sudo apt-get install -y pyqso
|
||||||
# CQRLOG
|
# CQRLOG
|
||||||
##################################
|
##################################
|
||||||
CQRLOG(){
|
CQRLOG(){
|
||||||
sudo apt-get install -y cqrlog
|
#sudo apt-get install -y cqrlog
|
||||||
|
sudo apt-get install -y lcl-2.0 lazarus-2.0 fp-compiler-3.0.4 fpc-3.0.4 libssl-dev git build-essential \
|
||||||
|
libmariadbclient-dev lazarus-ide lcl lcl-gtk2 lcl-nogui lcl-units lcl-utils lazarus lazarus-doc lazarus-src \
|
||||||
|
fp-units-misc fp-units-rtl fp-utils fpc fpc-source libssl-dev default-mysql-client-core default-mysql-server \
|
||||||
|
default-mysql-server-core galera-3 gawk libcgi-fast-perl libcgi-pm-perl libconfig-inifiles-perl libdbd-mysql-perl \
|
||||||
|
libdbi-perl libencode-locale-perl libfcgi-perl libhamlib-utils libhamlib2 libhtml-parser-perl libhtml-tagset-perl \
|
||||||
|
libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl liblwp-mediatypes-perl \
|
||||||
|
libmariadb-dev-compat libnetpbm10 libreadline5 libterm-readkey-perl libtimedate-perl liburi-perl \
|
||||||
|
mariadb-client-10.3 mariadb-client-core-10.3 mariadb-server-10.3 mariadb-server-core-10.3 socat xplanet xplanet-images
|
||||||
|
|
||||||
|
sudo ln -s /usr/lib/arm-linux-gnueabihf/libmariadbclient.so /usr/lib/libmysqlclient.so
|
||||||
|
|
||||||
|
cd
|
||||||
|
git clone https://github.com/ok2cqr/cqrlog.git
|
||||||
|
cd cqrlog
|
||||||
|
make
|
||||||
|
sudo make install
|
||||||
|
cd ..
|
||||||
|
rm -rf cqrlog
|
||||||
|
|
||||||
|
cat > cqrlog.desktop <<EOF
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=CQRLOG
|
||||||
|
Comment=Amateur Radio Logging Software
|
||||||
|
GenericName=CQRLOG
|
||||||
|
Exec=cqrlog
|
||||||
|
Icon=cqrlog
|
||||||
|
Type=Application
|
||||||
|
Terminal=false
|
||||||
|
Categories=HamRadio;Utility
|
||||||
|
EOF
|
||||||
|
|
||||||
|
sudo mv cqrlog.desktop /usr/share/applications/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
|
|
Ładowanie…
Reference in New Issue