install.sh 396 B

12345678910111213141516171819
  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. # which is a copy of the source tree
  8. # Change to the bzip2 source directory
  9. cd sources/bzip2-1.0.8
  10. echo "Installing bzip2..."
  11. # Install using the Makefile with proper variables
  12. make -f Makefile PREFIX=${DESTDIR}${PREFIX} install
  13. echo "Installation complete."