Files
haikuports/sys-apps/gawk/gawk-4.1.4.recipe
Jérôme Duval 454940d466 Bump revisions for x86_64 rebuild after time_t change.
* make gawk compatible with version 3.
* add some prerequisites for icu.
2017-06-12 17:40:24 -04:00

68 lines
1.5 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-$portVersion.tar.gz"
CHECKSUM_SHA256="8c03080e2b5a56263e8783f6f1f306398d4591be18254041f3f547efef944d35"
REVISION="2"
LICENSE="GNU GPL v3"
COPYRIGHT="1983-2013 Free Software Foundation, Inc."
ARCHITECTURES="x86_gcc2 x86 x86_64 arm"
PATCHES="gawk-$portVersion.patchset"
PROVIDES="
gawk = $portVersion compat >= 4
cmd:awk = $portVersion compat >= 3
cmd:gawk = $portVersion compat >= 3
cmd:igawk = $portVersion compat >= 3
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
cmd:makeinfo
cmd:sed
cmd:yacc
"
defineDebugInfoPackage gawk \
$binDir/gawk
BUILD()
{
libtoolize --force --copy --install
runConfigure ./configure \
--disable-rpath --with-gnu-ld
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make check
}