summaryrefslogtreecommitdiff
path: root/raptor2-install
diff options
context:
space:
mode:
Diffstat (limited to 'raptor2-install')
-rwxr-xr-xraptor2-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/raptor2-install b/raptor2-install
index ad44ed4..4d3be2e 100755
--- a/raptor2-install
+++ b/raptor2-install
@@ -5,7 +5,7 @@ DIR=`pwd`
. ./utils.sh || (echo "Utils could not be loaded, check opentox-ui.sh." 1>&2 && exit 1)
SELF=$(basename $0 -install)
check_log $SELF
-check_utils "wget tar make grep"
+check_utils "apt-get wget tar make grep"
# Build
mkdir -p $OT_PREFIX/tmp
@@ -15,6 +15,7 @@ export RAPTOR2_DIR=$OT_PREFIX/$SELF
cmd="$TAR xvzf $RAPTOR2_VER.tar.gz" && run_cmd "$cmd" "Unpack"
rm $RAPTOR2_VER.tar.gz
cd $RAPTOR2_VER
+cmd="sudo $APT_GET -y build-dep $SELF" && run_cmd "$cmd" "Build dependencies"
cmd="./configure --prefix=$RAPTOR2_DIR" && run_cmd "$cmd" "Configure"
cmd="$MAKE" && run_cmd "$cmd" "Make"
cmd="$MAKE install" && run_cmd "$cmd" "Make Install"