SUMMARY="A pattern scanning and processing language" 
DESCRIPTION="
	If you are like many computer users, you would frequently like to make 
	changes in various text files wherever certain patterns appear, or 
	extract data from parts of certain lines while discarding the rest. To 
	write a program to do this in a language such as C or Pascal is a 
	time-consuming inconvenience that may take many lines of code. The job 
	is easy with awk, especially the GNU implementation: gawk.

	The awk utility interprets a special-purpose programming language that 
	makes it possible to handle simple data-reformatting jobs with just a 
	few lines of code.
	"
HOMEPAGE="http://www.gnu.org/software/coreutils" 
SRC_URI="http://ftp.gnu.org/gnu/gawk/gawk-3.1.8.tar.bz2"
CHECKSUM_MD5="52b41c6c4418b3226dfb8f82076193bb"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86"

PROVIDES="
	gawk = $portVersion compat >= 3
	cmd:awk = $portVersion compat >= 3
	cmd:gawk = $portVersion compat >= 3
	"
REQUIRES="
	haiku >= $haikuVersion
	"
BUILD_REQUIRES="
	"
BUILD_PREREQUIRES="
	haiku_devel >= $haikuVersion
	cmd:gcc
	cmd:ld
    cmd:libtoolize
	cmd:make
    cmd:sed
	"


BUILD()
{
	libtoolize --force --copy --install
	./configure $configureDirArgs
	make
}

INSTALL()
{
	make install
}

TEST()
{
	make check
}

LICENSE="GNU GPL v3"
COPYRIGHT="1983-2010 Free Software Foundation, Inc."
