SUMMARY="xorg util-macros" 
DESCRIPTION="
Xorg util-macros.
" 
HOMEPAGE="http://cgit.freedesktop.org/xorg/util/macros/" 
COPYRIGHT="2005 Red Hat, Inc.
	2005, 2006, Oracle and/or its affiliates. All rights reserved."
LICENSE="MIT"

SRC_URI="git://anongit.freedesktop.org/xorg/util/macros"
#CHECKSUM_MD5=""
REVISION="1"

ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"

PROVIDES="
	util_macros$secondaryArchSuffix = $portVersion
	devel:util_macros$secondaryArchSuffix = $portVersion
	"
REQUIRES="
	haiku$secondaryArchSuffix >= $haikuVersion
	"

BUILD_REQUIRES="
	"

BUILD_PREREQUIRES="
	haiku${secondaryArchSuffix}_devel >= $haikuVersion
	cmd:autoconf
	cmd:aclocal
	cmd:make
	cmd:gcc$secondaryArchSuffix
	cmd:ld$secondaryArchSuffix
	"


BUILD()
{
	./autogen.sh -V
	runConfigure ./configure
	make
}

INSTALL()
{
	make install
	#fixPkgconfig
	mkdir -p $prefix/develop/lib${secondaryArchSuffix/_//}
	mv -f $prefix/data/pkgconfig $prefix/develop/lib${secondaryArchSuffix/_//}/
}
