<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;
]>

<sect1 id="ch-temp-system-bzip2" role="wrap">
  <?dbhtml filename="bzip2.html"?>

  <title>Bzip2-&bzip2-version;</title>

  <indexterm zone="ch-temp-system-bzip2">
    <primary sortas="a-Bzip2">Bzip2</primary>
    <secondary>temporary system</secondary>
  </indexterm>

  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  href="../../final-system/common/bzip2.xml"
  xpointer="xpointer(//*[@role='package'])"/>

  <sect2 role="installation">
    <title>Installation of Bzip2</title>

    <para os="ca">Bzip's default Makefile target automatically runs
    the testsuite as well. Disable the tests since they won't work on a
    multi-architecture build:</para>

<screen os="cb"><userinput>cp -v Makefile{,.orig}
sed -e 's@^\(all:.*\) test@\1@g' Makefile.orig > Makefile</userinput></screen>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/bzip2.xml"
    xpointer="xpointer(//*[@os='a'])"/>

<screen os="cc"><userinput>make CC="${CC}" AR="${AR}" RANLIB="${RANLIB}"</userinput></screen>

    <para os="cd">Install the package:</para>

<screen os="ce"><userinput>make PREFIX=/tools install</userinput></screen>

  </sect2>

  <sect2 role="content">
    <title/>

    <para>Details on this package are located in <xref
    linkend="contents-bzip2" role="."/></para>

  </sect2>

</sect1>
