DESCRIPTION="PostgreSQL is a powerful, open source object-relational database system." 
HOMEPAGE="http://www.postgresql.org/" 
SRC_URI="http://wwwmaster.postgresql.org/redir/198/f/source/v9.0.4/postgresql-9.0.4.tar.bz2"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND="dev-libs/libedit >= 20100424"
CHECKSUM_MD5="80390514d568a7af5ab61db1cda27e29"
BUILD()
{
	cd postgresql-9.0.4
	./configure --prefix=`finddir B_COMMON_DIRECTORY` --with-template=haiku
	make
}

INSTALL()
{
	cd postgresql-9.0.4
	make install
}

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

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