DESCRIPTION="library for multiple-precision floating-point computations with exact rounding" 
HOMEPAGE="www.mpfr.org" 
SRC_URI="http://www.mpfr.org/mpfr-current/mpfr-3.1.1.tar.xz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-libs/gmp = 5.0.5"
CHECKSUM_MD5="91d51c41fcf2799e4ee7a7126fc95c17"
BUILD()
{
	cd mpfr-3.1.1
#	libtoolize --force --copy --install
#	aclocal -I m4
#	automake --add-missing
#	autoconf
	./configure --prefix=`finddir B_COMMON_DIRECTORY` \
		--datarootdir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY` \
		--with-gmp=`finddir B_COMMON_DIRECTORY`
	make
}

INSTALL()
{
	cd mpfr-3.1.1
	make install
}

TEST()
{
	cd mpfr-3.1.1
	make check
}

LICENSE="GNU LGPL v3"
#COPYRIGHT=""
