install.sh 461 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. # Install silicon
  3. DIR=`pwd`
  4. rm -fr silicon;
  5. git clone https://github.com/matt-42/silicon.git
  6. cd silicon;
  7. CXX=/usr/bin/g++-4.9 ./install.sh $IROOT
  8. # Install microhttpd
  9. cd $DIR
  10. wget http://mirror.ibcp.fr/pub/gnu/libmicrohttpd/libmicrohttpd-0.9.39.tar.gz
  11. tar xvf libmicrohttpd-0.9.39.tar.gz
  12. cd libmicrohttpd-0.9.39
  13. ./configure --prefix=$IROOT
  14. make install
  15. cd $TROOT
  16. mkdir -p build
  17. cd build; cmake .. -DCMAKE_CXX_COMPILER=g++-4.9 && make silicon_app