SUMMARY="xtrans"
DESCRIPTION="
xtrans.
"
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/lib/"
SOURCE_URI="http://xorg.freedesktop.org/releases/individual/lib/xtrans-1.2.5.tar.gz"
CHECKSUM_SHA256="97d76ab76c755fabf2ef1896aaa76c0e38fc58d92799f9b2dd885a535cdd1e2b"
REVISION="1"
COPYRIGHT="1993, 1994, 1998  The Open Group
	1993, 1994 NCR Corporation
	2002, 2005 Sun Microsystems, Inc.
	1996 Sebastien Marineau, Holger Veit
	2003 Keith Packard, Noah Levitt"
LICENSE="MIT (no promotion)"

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

PROVIDES="
	xtrans$secondaryArchSuffix = $portVersion
	devel:xtrans$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
	mkdir -p $prefix/develop/lib${secondaryArchSuffix/_//}
	mv -f $prefix/data/pkgconfig $prefix/develop/lib${secondaryArchSuffix/_//}/
}
