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