talimat 791 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Tanım: A free library for arbitrary precision arithmetic.
  2. # URL: http://gmplib.org/
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. isim=gmp
  6. surum=6.1.0
  7. devir=1
  8. kaynak=(http://ftp.gnu.org/gnu/$isim/$isim-$surum.tar.xz)
  9. derle() {
  10. cd gmp-$surum
  11. case `uname -m` in
  12. i?86)
  13. ABI=32 ./configure --build=i686-pc-linux-gnu \
  14. --prefix=/usr --enable-cxx --libdir=/lib ;;
  15. *)
  16. ./configure --build=x86_64-unknown-linux-gnu \
  17. --prefix=/usr --enable-cxx --libdir=/lib ;;
  18. esac
  19. make
  20. # make check 2>&1 | tee gmp-check-log
  21. # awk '/tests passed/{total+=$2} ; END{print total}' gmp-check-log
  22. make DESTDIR=$PKG install
  23. rm -rf $PKG/usr/share/info/dir
  24. # Documentation
  25. #mkdir -p $PKG/usr/share/doc/gmp-${surum}
  26. #cp doc/{isa_abi_headache,configuration} doc/*.html \
  27. #$PKG/usr/share/doc/gmp-${surum}
  28. }