%general-entities; ]> xz &xz-version;
&xz-url;
Xz-&xz-version; Xz tools <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../chapter08/xz.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&xz-tmp-sbu;</seg> <seg>&xz-tmp-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 <xref linkend="contents-xz" role="."/></para> </sect2> </sect1>