2010-05-12 10:40:48 +02:00
|
|
|
#!/bin/bash
|
|
|
|
# Build the Pandora Agent installer.
|
|
|
|
# The installer will be placed in ./installer/output/.
|
|
|
|
# InstallJammer must be installed and in the PATH.
|
|
|
|
|
2010-05-19 17:21:10 +02:00
|
|
|
DIST=`lsb_release -i | awk '{print $3}'`
|
|
|
|
HOST="i586-mingw32msvc"
|
|
|
|
if [ "$DIST" == "SUSE" ]; then
|
2011-11-15 14:10:24 +01:00
|
|
|
HOST="i686-w64-mingw32"
|
2010-05-19 17:21:10 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
./autogen.sh && ./configure --host=$HOST && make clean && make && cp PandoraAgent.exe bin/ && installjammer --build installer/pandora.mpi
|
2010-05-12 10:40:48 +02:00
|
|
|
|