install.sh 389 B

12345678910111213141516
  1. #!/bin/bash
  2. set -e
  3. build_dir=$1
  4. install_dir=$2
  5. install_type=$3
  6. # With simpleBuildEnvironment flag, we're already in build directory
  7. # Source is in sources/file relative to package root
  8. # DESTDIR is overridden to install_dir by USM
  9. src_dir="sources/file"
  10. echo "Installing file-5.46 to ${install_dir}..."
  11. cd ${src_dir} && make DESTDIR=${install_dir} install
  12. echo "Installation complete."