homeInstall.sh (714B)
1 # 2 # build and install libsheepy 3 # build and install sheepy 4 # build and install spm 5 # 6 7 a=`pwd` 8 cd .. 9 git clone https://spartatek.se/git/libsheepy.git 10 cd libsheepy 11 git pull 12 source ./homeMake.sh 13 cd $a 14 15 # configure and build sheepy 16 gcc -o genMake genMake.c 17 ./genMake 18 rm genMake 19 20 cd src 21 ./compileSheepy.sh ../../libsheepy/release ../../libsheepy/release 22 mkdir ~/bin/ 23 cp sheepy ~/bin/ 24 export PATH=~/bin/:$PATH 25 sheepy 26 sed -i 's/\/usr\/local/\~\//g' ~/.sheepy/config.yml 27 sheepy -h 28 ./compileSpm.sh 29 cp spm ~/bin/ 30 31 # reset build scripts 32 git checkout compileSheepy.sh 33 34 echo sheepy and spm are installed in ~/bin/ 35 echo Add this line in your startup script: 36 echo export PATH=~/bin/:\$PATH 37 echo or 38 echo setenv PATH ~/bin/:\$PATH