The Gawk package contains programs for manipulating text files.
Prepare Gawk for compilation:
CC="gcc ${BUILD64}" ./configure \
--prefix=/usr \
--libexecdir=/usr/lib64
Compile the package:
make
To test the results, issue:
make check
Install the package:
make install
Install the documentation:
mkdir -v /usr/share/doc/gawk-4.1.4
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk-4.1.4