Package: gawk
Version: 5.3.1

Revision: 1
Maintainer: None <fink-devel@lists.sourceforge.net>
BuildDepends: <<
	fink (>= 0.32),
	fink-package-precedence,
	gettext-bin,
	gettext-tools,
	gmp5,
	libgettext8-dev,
	libiconv-dev,
	libmpfr6,
	readline8
<<

Depends: <<
	gmp5-shlibs,
	libgettext8-shlibs,
	libiconv,
	libmpfr6-shlibs,
	readline8-shlibs
<<

Source: mirror:gnu:%n/%n-%v.tar.xz
Source-Checksum: SHA256(694db764812a6236423d4ff40ceb7b6c4c441301b72ad502bb5c27e00cd56f78)

ConfigureParams: <<
	--libexecdir=%p/lib \
	ac_cv_prog_AWK=awk
<<
InstallScript: <<
	fink-package-precedence .
	make install DESTDIR=%d AM_UPDATE_INFO_DIR=no
<<
DocFiles: AUTHORS COPYING README NEWS POSIX.STD
InfoDocs: gawk.info gawkinet.info
InfoTest: TestScript: make -j1 -k check || exit 2

#
Description: The Awk processing language, GNU edition
DescDetail: <<
Awk is a sophisticated text processing language commonly used in shell
scripts. Note that many people actually prefer mawk over gawk because
of speed.
<<
DescPackaging: <<
Patching with
https://git.savannah.gnu.org/cgit/gawk.git/commit/extension/?id=e0b7737
to avoid building x86_64 binary (which fails to link arm64 libreadline etc.);
omitting m4/pma.m4 which requires aclocal/automake 1.16.
<<

License: GPL
Homepage: https://www.gnu.org/software/gawk/