dir: ftp://sourceware.cygnus.com/pub/bzip2/v100
file: bzip2-1.0.2.tar.gz
alternative: bzip2-1.0.2.tar.bz2
bash binutils fileutils gcc make
sed -e "s/-O2/$CFLAGS/" Makefile-libbz2_so | make -f- sed -e "s/-O2/$CFLAGS/" Makefile | make -f- |
make |
make install
cp bzip2-shared /bin/bzip2
ln -s libbz2.so.1.0 libbz2.so
cp -a libbz2.so* /lib
ln -sf ../../lib/libbz2.so /usr/lib
rm /usr/bin/{bunzip2,bzcat,bzip2}
mv /usr/bin/{bzip2recover,bzless,bzmore} /bin
ln -sf bzip2 /bin/bunzip2
ln -sf bzip2 /bin/bzcat
|
install |