diff --git a/builder/stage4/21-pisdr-hamlib/00-run.sh b/builder/stage4/21-pisdr-hamlib/00-run.sh new file mode 100755 index 0000000..41a9073 --- /dev/null +++ b/builder/stage4/21-pisdr-hamlib/00-run.sh @@ -0,0 +1,16 @@ +#!/bin/bash -e + +on_chroot << EOF +mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" +cd "/home/${FIRST_USER_NAME}/PiSDR/Software" + +if [ ! -d "Hamlib" ]; then + git clone https://github.com/Hamlib/Hamlib.git +fi + +cd Hamlib +./bootstrap +./configure --with-python-binding +make -j$(nproc) +ldconfig +EOF \ No newline at end of file diff --git a/builder/stage4/21-pisdr-leandvb/00-run.sh b/builder/stage4/29-pisdr-leandvb/00-run.sh similarity index 100% rename from builder/stage4/21-pisdr-leandvb/00-run.sh rename to builder/stage4/29-pisdr-leandvb/00-run.sh