kopia lustrzana https://github.com/Links2004/x6100-armbian
build latest hamlib
rodzic
4edca456f2
commit
1d14aae1cb
|
@ -94,6 +94,9 @@ Main() {
|
||||||
# framebuffer-vncserver
|
# framebuffer-vncserver
|
||||||
/root/framebuffer-vncserver-build.sh
|
/root/framebuffer-vncserver-build.sh
|
||||||
|
|
||||||
|
# hamlib
|
||||||
|
/root/hamlib-build.sh
|
||||||
|
|
||||||
# cleanup image
|
# cleanup image
|
||||||
rm -rf /root/build/
|
rm -rf /root/build/
|
||||||
apt-get clean
|
apt-get clean
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
mkdir -p /root/build
|
||||||
|
cd /root/build
|
||||||
|
|
||||||
|
BASE_DIR=/root/build/Hamlib
|
||||||
|
|
||||||
|
mkdir -p /root/build
|
||||||
|
cd /root/build
|
||||||
|
|
||||||
|
if [ ! -e "${BASE_DIR}" ] ; then
|
||||||
|
git clone --depth=1 https://github.com/Hamlib/Hamlib.git
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "${BASE_DIR}"
|
||||||
|
git pull
|
||||||
|
|
||||||
|
mkdir -p "${BASE_DIR}/build"
|
||||||
|
cd "${BASE_DIR}/build"
|
||||||
|
|
||||||
|
../bootstrap
|
||||||
|
../configure --prefix="" --host=arm-linux-gnueabihf --libdir=/lib/arm-linux-gnueabihf --without-cxx-binding
|
||||||
|
|
||||||
|
make -f $(nproc)
|
||||||
|
make install
|
||||||
|
|
||||||
|
cd "${BASE_DIR}"
|
||||||
|
|
||||||
|
# cleanup
|
||||||
|
if [ -e "${BASE_DIR}/build" ] ; then
|
||||||
|
rm -rf "${BASE_DIR}/build"
|
||||||
|
fi
|
Ładowanie…
Reference in New Issue