SUMMARY="A collection of freely re-usable Autoconf macros"
DESCRIPTION="The GNU Autoconf Archive is a collection of more than 500 macros \
for GNU Autoconf."
HOMEPAGE="https://www.gnu.org/software/autoconf-archive/"
COPYRIGHT="2019-2021 Autoconf Archive Maintainers"
LICENSE="GNU GPL v3
	Autoconf Configure Script Exception v3.0"
REVISION="1"
SOURCE_URI="http://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-$portVersion.tar.xz"
CHECKSUM_SHA256="e8a6eb9d28ddcba8ffef3fa211653239e9bf239aba6a01a6b7cfc7ceaec69cbd"
SOURCE_DIR="autoconf-archive-$portVersion"

ARCHITECTURES="any"

PROVIDES="
	autoconf_archive = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:awk
	cmd:cmp
	cmd:make
	cmd:makeinfo
	"

BUILD()
{
	AUTOCONF=: AUTOHEADER=: AUTOMAKE=: ACLOCAL=: runConfigure ./configure
	make $jobArgs
}

INSTALL()
{
	make install
	rm -f "$dataDir"/autoconf-archive/COPYING*
}
