build.sh 438 B

1234567891011121314151617
  1. #!/bin/bash
  2. set -e
  3. build_dir=$1
  4. # With simpleBuildEnvironment flag, we're already in build directory
  5. # The source tree is copied to build directory before this script runs
  6. # We need to change to the source directory first
  7. cd sources/tar
  8. echo "Configuring tar..."
  9. ./configure --prefix=${PREFIX} --libdir=${LIBDIR} --bindir=${BINDIR} --mandir=${MANDIR} --infodir=${INFODIR}
  10. echo "Building tar..."
  11. make -j$(nproc)
  12. echo "Build complete."