SUMMARY="inputproto"
DESCRIPTION="
inputproto.
"
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/" 
SOURCE_URI="http://xorg.freedesktop.org/releases/individual/proto/inputproto-2.0.tar.gz"
CHECKSUM_SHA256="cd89a1e95745875e66947ba28587c720c91aec63836ac6548ca12fd525c0a2ee"
REVISION="1"
COPYRIGHT="1989, 1998  The Open Group
	1989 by Hewlett-Packard Company, Palo Alto, California.
	"
LICENSE="MIT (no promotion)"


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

PROVIDES="
	inputproto$secondaryArchSuffix = $portVersion
	devel:inputproto$secondaryArchSuffix = $portVersion
	"
REQUIRES="
	haiku$secondaryArchSuffix
	"

BUILD_REQUIRES="
	"

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

BUILD()
{
	libtoolize --force --copy --install
	autoreconf -i
	runConfigure ./configure
}

INSTALL()
{
	make install
	fixPkgconfig
}
