sherpa/INSTALL.sh

14 lines
600 B
Bash
Raw Normal View History

2022-03-07 12:25:48 -05:00
#!/bin/sh
# Sherpa installation script
# This script compiles the Sherpa source files into executable binaries, and moves them into their appropriate locations
echo "Compiling Sherpa..."
2022-03-07 12:30:18 -05:00
gcc -O2 -Wall $(pkg-config --cflags vte-2.91) /tmp/sherpa/sherpa.c -o Sherpa $(pkg-config --libs vte-2.91) # Compile main Sherpa binary
2022-03-07 12:25:48 -05:00
echo "CC sherpa.c"
echo "Compiling sherpa-version..."
2022-03-07 12:30:18 -05:00
gcc -O2 -Wall /tmp/sherpa/sherpa-version.c # Compile Sherpa version script
2022-03-07 12:25:48 -05:00
echo "CC sherpa-version.c"
2022-03-07 12:30:18 -05:00
cp /tmp/sherpa/a.out /tmp/sherpa/sherpa-version.c
mv /tmp/sherpa/sherpa /usr/bin
mv /tmp/sherpa/sherpa-version /usr/bin