Package: grep
Version: 3.11
Revision: 1
Maintainer: None <fink-devel@lists.sourceforge.net>

BuildDepends: <<
	fink (>= 0.32.1),
	gettext-tools,
	libgettext8-dev,
	libiconv-dev,
	libpcre2
<<
Depends: <<
	libgettext8-shlibs,
	libiconv,
	libpcre2-shlibs
<<
Source: mirror:gnu:%n/%n-%v.tar.xz
Source-Checksum: SHA256(1db2aedde89d0dea42b16d9528f894c8d15dae4e190b59aecc78f5a951276eab)

ConfigureParams: <<
	--mandir=%p/share/man \
	--infodir=%p/share/info \
	--disable-silent-rules \
	ac_cv_libsigsegv=no
<<
InstallScript: make install DESTDIR=%d AM_UPDATE_INFO_DIR=no
InfoTest: TestScript: make check || exit 2

DocFiles: README COPYING AUTHORS NEWS THANKS
InfoDocs: grep.info

Description: Search text files for patterns
DescDetail: <<
GNU grep lets you search for specific words or patterns in text
files.
<<
DescPackaging: <<
Patch po/Makefile.in.in to avoid a build error (which only occurs if
the coreutils package is *not* installed).

Actively disable using libsigsegv to avoid opportunistic usage.
<<
License: GPL
Homepage: https://www.gnu.org/software/grep/grep.html