SUMMARY="libxcb"
DESCRIPTION="
libxcb.
"
HOMEPAGE="http://xcb.freedesktop.org/" 
SRC_URI="http://xcb.freedesktop.org/dist/libxcb-1.6.tar.gz"
CHECKSUM_MD5="f824cc4cb4b43f5bbc84c0e17fbd80d0"
REVISION="1"
COPYRIGHT="2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett.
All Rights Reserved."
LICENSE="MIT (no promotion)"

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

PROVIDES="
	libxcb$secondaryArchSuffix = $portVersion
	lib:libxcb$secondaryArchSuffix = $portVersion
	devel:libxcb$secondaryArchSuffix = $portVersion
	"
REQUIRES="
	haiku$secondaryArchSuffix >= $haikuVersion
	lib:libxslt >= 1.1.26
	"

BUILD_REQUIRES="
	devel:libxslt >= 1.1.26
	devel:xcb_proto >= 1.6
	devel:libpthread_stubs$secondaryArchSuffix >= 0.3
	devel:libxau$secondaryArchSuffix >= 1.0.5
	"

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
	cmd:python
	"


#DEPEND="pkgconfig >= 0.23
#		x11-misc/util-macros >= 1.7.0
#        dev-libs/libxslt  >= 1.1.26
#        x11-proto/xcb-proto >= 1.6
#        x11-libs/libXau >= 1.0.5"
        
BUILD()
{
	libtoolize --force --copy --install
	./autogen.sh
	runConfigure ./configure
}

INSTALL()
{
	make install
}
