Gawk-5.3.2

The Gawk package contains programs for manipulating text files.

Approximate build time: 0.1 SBU
Required disk space: 49 MB
SHA256 Checksum: f8c3486509de705192138b00ef2c00bbbdd0e84c30d5c07d23fc73a9dc4cc9cc

Installation of Gawk

First, ensure some unneeded files are not installed:

sed -i 's/extras//' Makefile.in

Prepare Gawk for compilation:

./configure --prefix=/usr   \
            --host=$LFS_TGT \
            --build=$(build-aux/config.guess)

Compile the package:

make

Install the package:

make DESTDIR=$LFS install

Details on this package are located in the section called “Contents of Gawk.”