SUMMARY="X.Org's autotools utility macros"
DESCRIPTION="This is a set of autoconf macros used by the configure.ac \
scripts in other Xorg modular packages, and is needed to generate new \
versions of their configure scripts with autoconf."
HOMEPAGE="https://cgit.freedesktop.org/xorg/util/macros/"
COPYRIGHT="2005 Red Hat, Inc.
	2005, 2006 Oracle and/or its affiliates"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://www.x.org/archive/individual/util/util-macros-$portVersion.tar.bz2"
CHECKSUM_SHA256="d7e43376ad220411499a79735020f9d145fdc159284867e99467e0d771f3e712"
SOURCE_DIR="util-macros-$portVersion"

ARCHITECTURES="any"

PROVIDES="
	util_macros = $portVersion
	devel:util_macros = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:autoconf
	cmd:awk
	cmd:gcc
	cmd:make
	"

BUILD()
{
	runConfigure ./configure
	make
}

INSTALL()
{
	make install
}
