Details on this package are located in Section 10.38.2, “Contents of Bzip2.”
The Bzip2 package contains programs for compressing and decompressing files. Compressing text files with bzip2 yields a much better compression percentage than with the traditional gzip.
We need to remove the tests since they won't work on a multi-architecture build, and change the default lib path to lib64:
sed -i -e 's@^\(all:.*\) test@\1@g' \ -e 's@/lib\(/\| \|$\)@/lib64\1@g' Makefile
The Bzip2 package does not contain a configure script. Compile it with:
make CC="${CC} ${BUILD64}" AR="${AR}" RANLIB="${RANLIB}"
Install the package:
make PREFIX=/tools install
Details on this package are located in Section 10.38.2, “Contents of Bzip2.”