SUMMARY="xproto"
DESCRIPTION="
xproto.
"
HOMEPAGE="http://cgit.freedesktop.org/xorg/proto/xproto/" 
COPYRIGHT="1991, Oracle and/or its affiliates. All rights reserved.
	1985, 1987, 1988, 1990, 1991, 1993-1996, 1998  The Open Group
	1987 by Digital Equipment Corporation, Maynard, Massachusetts.
	1987 by Apollo Computer Inc., Chelmsford, Massachusetts.
	1989 by Hewlett-Packard Company.
	1999  The XFree86 Project Inc."
LICENSE="MIT (no promotion)"

SRC_URI="git://anongit.freedesktop.org/xorg/proto/xproto"
#CHECKSUM_MD5=""
REVISION="1"

PATCHES="xproto-7.0.23_git.patch"

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

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

BUILD_REQUIRES="
	"

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

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

INSTALL()
{
	make install
	fixPkgconfig
}
