<?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="m1">Bzip2's default Makefile target automatically runs the
    testsuite as well. We need to remove the tests since they won't work on
    a multi-architecture build, and change the default lib path
    to <filename class="directory">lib64</filename>:</para>

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

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

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

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

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

  </sect2>

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

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

  </sect2>

</sect1>
