DESCRIPTION="pkgconfig" 
HOMEPAGE="http://pkg-config.freedesktop.org/wiki/" 
SOURCE_URI="http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz"
CHECKSUM_MD5="aa3c86e67551adc3ac865160e34a2a0d"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
	# because we patched configure.ac...
	cd pkg-config-0.28/glib
	autoreconf -i -f
	cd ..
	# do the needful...
	autoreconf -i -f
	COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
	./configure --prefix=`finddir B_COMMON_DIRECTORY` \
		--datadir=`finddir B_COMMON_DATA_DIRECTORY` \
		--docdir=$COMMON_DOCS/doc/pkg-config \
		--mandir=$COMMON_DOCS/man \
		--disable-host-tool \
		--with-internal-glib
	make
}

INSTALL()
{
	cd pkg-config-0.28
	make install
}
LICENSE="GNU GPL v2"
COPYRIGHT="1998, 2001-2006 Red Hat Inc."
