generate-monkey-db.sh 358 B

1234567891011121314151617
  1. #!/bin/sh
  2. BASEPATH="$(dirname $0)"
  3. OLDDIR="${pwd}"
  4. GN_HOME="/usr/local/bin"
  5. export CC="cparser"
  6. export CFLAGS="-m32 --seaspider"
  7. cd $BASEPATH/.. && ./configure --prefix=$GN_HOME --with-extractor=$GN_HOME --with-microhttpd=$GN_HOME --with-libgcrypt=$GN_HOME && make && seaspider
  8. if test "$?" -ne 0
  9. then
  10. echo "FAIL: building GNUnet"
  11. exit 1
  12. fi
  13. cd $OLDDIR