kopia lustrzana https://github.com/km4ack/pi-build
initial commit
rodzic
9ea1e50070
commit
bc26c651ad
|
@ -0,0 +1,42 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#This test-patch script should serve as a
|
||||||
|
#template for future patch scripts.
|
||||||
|
#20210805 KM4ACK
|
||||||
|
|
||||||
|
#Give this patch a unique name. A good idea is
|
||||||
|
#to give it the application name that is being
|
||||||
|
#patched followed by the date. ie FLDIDI20210805
|
||||||
|
|
||||||
|
PATCHNAME=flmsg-20210806
|
||||||
|
|
||||||
|
PATCHFILE=$HOME/.config/patch
|
||||||
|
touch $PATCHFILE
|
||||||
|
###############################
|
||||||
|
#Patch script commands go here#
|
||||||
|
###############################
|
||||||
|
clear;echo;echo
|
||||||
|
##################################
|
||||||
|
# DEPENDS
|
||||||
|
##################################
|
||||||
|
#install needed depends
|
||||||
|
sudo apt-get install -y libfltk1.3-dev libjpeg9-dev libxft-dev libxinerama-dev libxcursor-dev libsndfile1-dev libsamplerate0-dev portaudio19-dev libpulse-dev libusb-1.0-0-dev texinfo libudev-dev
|
||||||
|
|
||||||
|
cd $HOME/Downloads
|
||||||
|
wget http://www.w1hkj.com/files/flmsg/flmsg-4.0.19.tar.gz
|
||||||
|
tar -zxvf flmsg-4.0.19.tar.gz
|
||||||
|
rm flmsg-4.0.19.tar.gz
|
||||||
|
cd flmsg-4.0.19
|
||||||
|
./configure --prefix=/usr/local --enable-static --without-flxmlrpc
|
||||||
|
make
|
||||||
|
sudo make install
|
||||||
|
sudo ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
#write patch name to a file so we can #
|
||||||
|
#look and see if it has been applied before.#
|
||||||
|
#This is checked by the patch-menu script #
|
||||||
|
#before running the patch #
|
||||||
|
#############################################
|
||||||
|
echo "$PATCHNAME" >> $PATCHFILE
|
Ładowanie…
Reference in New Issue