MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 3 - Temporary Tools

Navigation    
« GNU Sed HOME Xz »

GNU Tar

Name: GNU Tar
Summary: The Tape Archive Tool
License: GPL v3 or later
Version: 1.35
URL: https://ftp.gnu.org/gnu/tar/tar-1.35.tar.xz

Configuration

To configure GNU Tar 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

Compilation and Installation

To compile GNU Tar, run the following command:

make

Finally, to install GNU Tar into the build tree, run the following commands:

make DESTDIR=$BRFS install
mv -v $BRFS/usr/lib64/rmt $BRFS/usr/bin/

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

Navigation    
« GNU Sed HOME Xz »