SUMMARY="A tool for generating 'Makefile.in' from 'Makefile.am'"
DESCRIPTION="
Automake is a tool for automatically generating 'Makefile.in' files from \
'Makefile.am' files.  'Makefile.am' is a series of 'make' macro definitions \
(with rules occasionally thrown in).  The generated 'Makefile.in' files are \
compatible with the GNU Makefile standards.
"
HOMEPAGE="http://www.gnu.org/software/automake/"
COPYRIGHT="2013 Free Software Foundation, Inc."
LICENSE="GNU GPL v2"
SRC_URI="http://ftp.gnu.org/gnu/automake/automake-1.13.1.tar.gz"
CHECKSUM_SHA256="51bc10031847e9965c4f2c16a0a66552309ce28ea82b1afa8cef736643ebaa27"
REVISION="4"
ARCHITECTURES="x86_gcc2 x86 x86_64 arm"

PROVIDES="
	automake = $portVersion compat >= 1.13
	cmd:automake = $portVersion compat >= 1.13
	cmd:automake_1.13 = $portVersion compat >= 1.13
	cmd:aclocal = $portVersion compat >= 1.13
	cmd:aclocal_1.13 = $portVersion compat >= 1.13
	"
REQUIRES="
	haiku >= $haikuVersion
	cmd:awk
	coreutils
	diffutils
	cmd:m4 >= 1.4
	cmd:perl >= 5.8
	cmd:sh
	"
BUILD_REQUIRES="
	"
BUILD_PREREQUIRES="
	haiku_devel >= $haikuVersion
	cmd:autoconf >= 2.60
	cmd:find
	cmd:gcc
	cmd:ld
	cmd:make
	cmd:makeinfo
	cmd:perl >= 5.8
	cmd:sed
    "


BUILD()
{
	./bootstrap.sh
	PERL="/bin/env perl" runConfigure ./configure
	make $jobArgs
}

INSTALL()
{
	make install
	make install-html
}

TEST()
{
	make check
}

