MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 3 - Temporary Tools

Navigation    
« GNU Findutils HOME GNU Grep »

GNU Awk

Name: GNU Awk
Summary: GNU Awk is a CLI tool for processing text data
License: GPL v3 or later
Version: 5.3.2
URL: https://ftp.gnu.org/gnu/gawk/gawk-5.3.2.tar.xz

Configuration

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

sed -i 's/extras//' Makefile.in
./configure --prefix=/usr           \
            --libdir=/usr/lib64     \
            --libexecdir=/usr/lib64 \
            --host=$BRFS_TARGET     \
            --build=$BRFS_HOST

Compilation and Installation

To compile GNU Awk, run the following command:

make

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

make DESTDIR=$BRFS install

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

Navigation    
« GNU Findutils HOME GNU Grep »