19 lines
554 B
Bash
Executable File
19 lines
554 B
Bash
Executable File
#!/bin/bash
|
|
|
|
srcDir=${HOME}/coriolis-2.x/src/alliance/alliance/src
|
|
commonRoot=${HOME}/coriolis-2.x/Linux.el7_64/Release.Shared
|
|
buildDir=${commonRoot}/build
|
|
installDir=${commonRoot}/install
|
|
|
|
export ALLIANCE_TOP=${installDir}
|
|
export LD_LIBRARY_PATH=${installDir}/lib:${LD_LIBRARY_PATH}
|
|
|
|
cd ${srcDir}
|
|
sed -i 's,dirs="\$newdirs documentation",dirs="$newdirs",' ./autostuff
|
|
./autostuff clean
|
|
./autostuff
|
|
mkdir -p ${buildDir}
|
|
cd ${buildDir}
|
|
${srcDir}/configure --prefix=${ALLIANCE_TOP} --enable-alc-shared
|
|
make -j1 install
|