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