2017-10-27 21:56:50 +02:00
|
|
|
|
# Tanım: The MPFR package contains functions for multiple precision math
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.mpfr.org/
|
2017-10-27 21:56:50 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler:
|
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
name=mpfr
|
|
|
|
|
version=3.1.3
|
|
|
|
|
release=2
|
|
|
|
|
|
|
|
|
|
source=(http://www.mpfr.org/mpfr-current/mpfr-$version.tar.xz
|
2017-10-27 21:56:50 +02:00
|
|
|
|
http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-upstream_fixes-1.patch)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
build()
|
|
|
|
|
{
|
|
|
|
|
cd mpfr-$version
|
|
|
|
|
patch -Np1 -i ../$name-$version-upstream_fixes-1.patch
|
|
|
|
|
./configure --prefix=/usr --enable-thread-safe \
|
|
|
|
|
--libdir=/lib \
|
|
|
|
|
--docdir=/usr/share/doc/mpfr-$version
|
|
|
|
|
make
|
|
|
|
|
make check
|
|
|
|
|
make DESTDIR=$PKG install
|
2016-03-07 13:45:49 +01:00
|
|
|
|
#make html
|
|
|
|
|
#make DESTDIR=$PKG install-html
|
|
|
|
|
#rm -rf $PKG/usr/share/info/dir
|
2016-02-24 01:27:23 +01:00
|
|
|
|
}
|