Files
haikuports/sys-apps/gawk/gawk-3.1.8.recipe
2015-08-04 12:08:31 -04:00

61 lines
1.4 KiB
Bash

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/s/gawk"
SOURCE_URI="http://ftp.gnu.org/gnu/gawk/gawk-3.1.8.tar.bz2"
CHECKSUM_SHA256="5dbc7b2c4c328711337c2aacd09a122c7313122262e3ff034590f014067412b4"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
gawk = $portVersion compat >= 3
cmd:awk = $portVersion compat >= 3
cmd:gawk = $portVersion compat >= 3
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
cmd:sed
"
defineDebugInfoPackage gawk \
$binDir/gawk
BUILD()
{
libtoolize --force --copy --install
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make check
}
LICENSE="GNU GPL v3"
COPYRIGHT="1983-2010 Free Software Foundation, Inc."