install.sh 352 B

1234567891011121314151617
  1. #!/bin/bash
  2. set -e
  3. # Zlib install script
  4. # Installs zlib to the destination directory
  5. build_dir=$1
  6. install_dir=$2
  7. install_type=$3
  8. # With simpleBuildEnvironment flag, we're already in build directory
  9. echo "Installing zlib to ${install_dir}..."
  10. # Install to the destination directory
  11. make DESTDIR=${install_dir} install
  12. echo "Installation complete."