MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 3 - Temporary Tools

Navigation    
« GNU Tar HOME GNU Binutils - pass 2 »

Xz

Name: Xz
Summary: A Better Compression Tool
License: Multiple FOSS licenses (0BSD/GPLv2+/GPLv3+)
Version: 5.8.1
URL: https://github.com/tukaani-project/xz/releases/download/v5.8.1/xz-5.8.1.tar.xz

Configuration

To configure Xz for install into the build root, run the following command:

./configure --prefix=/usr                    \
            --libdir=/usr/lib64              \
            --libexecdir=/usr/lib64          \
            --host=$BRFS_TARGET              \
            --build=$BRFS_HOST               \
            --disable-static                 \
            --docdir=/usr/share/doc/xz-5.8.1

Compilation and Installation

To compile Xz, run the following command:

make

Finally, to install Xz into the build tree, run the following command:

make DESTDIR=$BRFS install
rm -v $BRFS/usr/lib64/liblzma.la

More details about this package is covered later in the core system build.

Navigation    
« GNU Tar HOME GNU Binutils - pass 2 »