treefrog.sh 532 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. RETCODE=$(fw_exists ${IROOT}/treefrog.installed)
  3. [ ! "$RETCODE" == 0 ] || { return 0; }
  4. sudo apt-get install -y qt4-qmake libqt4-dev libqt4-sql-mysql libqt4-sql-psql g++
  5. fw_get http://downloads.sourceforge.net/project/treefrog/src/treefrog-1.7.7.tar.gz -O
  6. fw_untar treefrog-1.7.7.tar.gz
  7. cd treefrog-1.7.7
  8. # Someday we can try this... I couldn't get it working
  9. #./configure --prefix=$IROOT/treefrog
  10. ./configure
  11. cd src
  12. make -j4
  13. sudo make install
  14. cd ../tools
  15. make -j4
  16. sudo make install
  17. touch $IROOT/treefrog.installed