bzip2-inst.xml 680 B

1234567891011121314151617181920212223
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Bzip2</title>
  4. <para>Since the Bzip2 package has no configure script we can't prepare it
  5. for compilation. Instead we just run the <userinput>make</userinput>
  6. program and start compiling, with a few variables changed to suit our
  7. environment:</para>
  8. <para><screen><userinput>make -f Makefile-libbz2_so
  9. make LDFLAGS="-s"
  10. make check
  11. make PREFIX=/stage1 install
  12. yes | cp bzip2-shared /stage1/bin/bzip2
  13. ln -s libbz2.so.1.0 libbz2.so
  14. cp -a libbz2.so* /stage1/lib
  15. rm -f /stage1/bin/{bunzip2,bzcat}
  16. ln -s bzip2 /stage1/bin/bunzip2
  17. ln -s bzip2 /stage1/bin/bzcat</userinput></screen></para>
  18. </sect2>