Blame view

tools/extras/install_pfile_utils.sh 579 Bytes
8dcb6dfcb   Yannick Estève   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  #!/bin/bash
  # This was needed for a specific purpose-- some neural net training for the 
  # BABEL setup that was done by Yajie Miao.  We don't expect these tools will
  # be used very heavily.
  
  ! which pkg-config >/dev/null  && \
     echo "pkg-config is not installed, this will not work.  Ask your sysadmin to install it" && exit 1;
  
  if [ ! -s quicknet-v3_33.tar.gz ]; then
    wget ftp://ftp.icsi.berkeley.edu/pub/real/davidj/quicknet-v3_33.tar.gz || exit 1
  fi
  tar -xvzf quicknet-v3_33.tar.gz
  cd quicknet-v3_33/
  ./configure --prefix=`pwd`  || exit 1
  make install  || exit 1
  cd ..