#!/bin/sh
# precompile_bzip2

cd $LFS/usr/src
tar xfj bzip2*.tar.bz2
cd bzip2*

make CC="gcc -static" &&
make PREFIX=$LFS/usr install &&
cd $LFS/usr/bin &&
mv bzcat bunzip2 bzip2 bzip2recover bzless bzmore $LFS/bin
