%general-entities; ]> xz &xz-version;
&xz-url;
Xz-&xz-version; Xz tools <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../chapter06/xz.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&xz-ch5-sbu;</seg> <seg>&xz-ch5-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Xz Prepare Xz for compilation: ./configure --prefix=/usr \ --host=$LFS_TGT \ --build=$(build-aux/config.guess) \ --disable-static \ --docdir=/usr/share/doc/xz-&xz-version; Compile the package: make Install the package: make DESTDIR=$LFS install Make sure that all essential files are in the correct directory: mv -v $LFS/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} $LFS/bin mv -v $LFS/usr/lib/liblzma.so.* $LFS/lib ln -svf ../../lib/$(readlink $LFS/usr/lib/liblzma.so) $LFS/usr/lib/liblzma.so <para>Details on this package are located in<!-- TODO <xref linkend="contents-xz" role="."/> --></para> </sect2> </sect1>