27 lines
641 B
Plaintext
27 lines
641 B
Plaintext
# Tanım: The MPFR package contains functions for multiple precision math
|
||
# URL: http://www.mpfr.org/
|
||
# Paketçi: milisarge
|
||
# Gerekler:
|
||
|
||
name=mpfr
|
||
version=3.1.3
|
||
release=2
|
||
|
||
source=(http://www.mpfr.org/mpfr-current/mpfr-$version.tar.xz
|
||
http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-upstream_fixes-1.patch)
|
||
|
||
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
|
||
#make html
|
||
#make DESTDIR=$PKG install-html
|
||
#rm -rf $PKG/usr/share/info/dir
|
||
}
|