bz2.build 366 B

123456789101112131415161718192021222324252627
  1. cd $tmpdir
  2. # Grab latest sources bzip2
  3. if [ ! -d $bz2srcdir ]; then
  4. wget $bz2mirror/$bz2
  5. tar -xf $bz2
  6. fi
  7. cd $bz2srcdir
  8. make -f Makefile-libbz2_so
  9. make clean
  10. make -j$corecount
  11. make PREFIX=$freondir install
  12. cp bzip2-shared $freondir/bin/bzip2
  13. cp -a libbz2.so* $freondir/lib
  14. cd $freondir/lib
  15. ln -s libbz2.so.* libbz2.so
  16. cd $tmpdir