Files
haikuports/sys-apps/gawk/gawk-4.1.0.recipe
PulkoMandy 5f9bcb6928 Declare ARM support for packages to bootstrap.
* The bootstrap process won't work without that.
2014-04-22 21:23:55 +02:00

69 lines
1.6 KiB
Plaintext

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"
SRC_URI="http://ftp.gnu.org/gnu/gawk/gawk-4.1.0.tar.gz"
CHECKSUM_SHA256="79f81b09bc3cce50e083f78acc0f91783821ad30866615d30dd1731f17ec440b"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 x86_64 arm"
PATCHES="gawk-4.1.0.patchset"
PROVIDES="
gawk = $portVersion compat >= 4
cmd:awk = $portVersion compat >= 4
cmd:gawk = $portVersion compat >= 4
cmd:igawk = $portVersion compat >= 4
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
cmd:makeinfo
cmd:sed
"
defineDebugInfoPackage gawk \
$binDir/gawk
BUILD()
{
libtoolize --force --copy --install
runConfigure ./configure \
--disable-rpath --with-gnu-ld
sed -i '/.*HAVE_WCTYPE_H.*/c\#undef HAVE_WCTYPE_H' config.h
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make check
}
LICENSE="GNU GPL v3"
COPYRIGHT="1983-2013 Free Software Foundation, Inc."