prepare: git clone https://www.sourceware.org/pub/bzip2/bzip2-latest.tar.gz bzip2 cd bzip2 make: make -f Makefile-libbz2_so make clean make install: make PREFIX=${PREFIX}/tools install cp -v bzip2-shared ${PREFIX}/tools/bin/bzip2 cp -av libbz2.so* ${PREFIX}/tools/lib ln -sv libbz2.so.1.0 ${PREFIX}/tools/lib/libbz2.so uninstall: make uninstall