# Tanım: The MPFR package contains functions for multiple precision math
# URL: http://www.mpfr.org/
# Paketçi: milisarge
# Gerekler:

isim=mpfr
surum=3.1.3
devir=2

kaynak=(http://www.mpfr.org/mpfr-current/mpfr-$surum.tar.xz
	    http://www.linuxfromscratch.org/patches/downloads/$isim/$isim-$surum-upstream_fixes-1.patch)

derle()
{
cd mpfr-$surum
patch -Np1 -i ../$isim-$surum-upstream_fixes-1.patch
./configure --prefix=/usr --enable-thread-safe \
	--libdir=/lib \
	--docdir=/usr/share/doc/mpfr-$surum
make
make check
make DESTDIR=$PKG install
#make html
#make DESTDIR=$PKG install-html
#rm -rf $PKG/usr/share/info/dir
}
