build.sh 394 B

1234567891011121314151617
  1. #!/bin/bash
  2. set -e
  3. # Change to the source directory
  4. cd sources/xz
  5. echo "Configuring xz..."
  6. # Configure with standard options and using all available threads
  7. ./configure --prefix=${PREFIX} --libdir=${LIBDIR} --mandir=${MANDIR} --infodir=${INFODIR} --datadir=${DATADIR} --disable-silent-rules
  8. echo "Building xz..."
  9. # Build using all available threads
  10. make -j$(nproc)
  11. echo "Build completed."