talimat 749 B

1234567891011121314151617181920212223242526
  1. # Description: The MPFR package contains functions for multiple precision math
  2. # URL: http://www.mpfr.org/
  3. # Maintainer: Guillaume Hanrot,Vincent Lefèvre,Patrick Pélissier,Philippe Théveny and Paul Zimmermann
  4. # Packager: pierre at nutyx dot org
  5. name=mpfr
  6. version=3.1.3
  7. release=2
  8. source=(http://www.mpfr.org/mpfr-current/mpfr-$version.tar.xz
  9. http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-upstream_fixes-1.patch)
  10. build()
  11. {
  12. cd mpfr-$version
  13. patch -Np1 -i ../$name-$version-upstream_fixes-1.patch
  14. ./configure --prefix=/usr --enable-thread-safe \
  15. --libdir=/lib \
  16. --docdir=/usr/share/doc/mpfr-$version
  17. make
  18. make check
  19. make DESTDIR=$PKG install
  20. #make html
  21. #make DESTDIR=$PKG install-html
  22. #rm -rf $PKG/usr/share/info/dir
  23. }