| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. -e |
| 2 | |
| 3 | . CI/travis/lib.shscip-shell source . . `CI/travis/lib.sh`. |
| 4 | |
| 5 | brew_install_if_not_exists cmake doxygen libusb libxml2 |
| 6 | |
| 7 | if [scip-shell system . . `[`. -n "$PACKAGE_TO_INSTALL" ] ; then |
| 8 | for file in $PACKAGE_TO_INSTALL ; do |
| 9 | sudoscip-shell system . . sudo. installer -pkg "${file}" -target /scip-shell filesystem . . `/`. |
| 10 | done |
| 11 | elif [scip-shell system . . `[`. "$INSTALL_FROM_SW_DOWNLOADS" = "1" ] ; then |
| 12 | wget http://swdownloads.analog.com/cse/travis_builds/${LIBIIO_BRANCH}_latest_libiio${LDIST}.pkg |
| 13 | sudoscip-shell system . . sudo. installer -pkg ${LIBIIO_BRANCH}_latest_libiio${LDIST}.pkg -target /scip-shell filesystem . . `/`. |
| 14 | fi |