DESCRIPTION="A powerful, open source object-relational database system."
HOMEPAGE="http://www.postgresql.org/" 
SOURCE_URI="http://ftp.postgresql.org/pub/source/v9.2.3/postgresql-9.2.3.tar.bz2"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND="dev-libs/libedit >= 20100424"
CHECKSUM_MD5="59f42a93695b0186ed5eb03c2653a7d4"
BUILD()
{
	cd postgresql-9.2.3
	./configure --prefix=`finddir B_COMMON_DIRECTORY` --with-template=haiku
	make
}

INSTALL()
{
	cd postgresql-9.2.3
	make install
}

TEST()
{
	cd postgresql-9.2.3
#	make test
#	make check
}

LICENSE="PostgreSQL"
COPYRIGHT="1996-2012, PostgreSQL Global Development Group
	1994, The Regents of the University of California"
