libtommath version 0.40 for Mac OS X 10.5 Leopard
Friday the 16th of May, 2008

    libtommath  most recent diff


      View the most recent changes for the libtommath port at: libtommath.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for libtommath.
      The raw portfile for libtommath 0.40 is located here:
      http://libtommath.darwinports.com/dports/math/libtommath/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/libtommath
      Google
      Web Darwinports.com



      # $Id: Portfile 30184 2007-10-22 19:32:09Z mww macports.org $

      PortSystem 1.0

      Name: libtommath
      Version: 0.40
      Category: math
      Platform: darwin
      Maintainers: mww
      Description: Comprehensive, modular and portable mathematical routines
      Long Description: LibTomMath provides highly optimized and portable routines for a vast majority of integer based number theoretic applications (including public key cryptography).

      Homepage: http://math.libtomcrypt.com/
      master_sites http://libtom.org/files/ http://www.atarininja.org/~wxs/distfiles/ freebsd
      distname ltm-${version}
      checksums sha1 439899c06444c363eee527f75447d189ee4f93ba
      use_bzip2 yes
      patchfiles patch-makefile

      worksrcdir ${name}-${version}

      use_configure no

      build.args LIBDIR=${prefix}/lib

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/include/${name}
      xinstall -m 644 -W ${worksrcpath} tommath.h tommath_class.h tommath_superclass.h ${destroot}${prefix}/include/${name}
      xinstall -m 644 -W ${worksrcpath} libtommath.a libtommath.${version}.dylib ${destroot}${prefix}/lib
      system "cd ${destroot}${prefix}/lib && ln -s libtommath.${version}.dylib libtommath.0.dylib && ln -s libtommath.${version}.dylib libtommath.dylib"
      }

      platform darwin 8 {
      build.args-append CC=/usr/bin/gcc-4.0
      }


    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/libtommath
      % sudo port install libtommath
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching libtommath
      ---> Verifying checksum for libtommath
      ---> Extracting libtommath
      ---> Configuring libtommath
      ---> Building libtommath with target all
      ---> Staging libtommath into destroot
      ---> Installing libtommath
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using libtommath with these commands:
      %  man libtommath
      % apropos libtommath
      % which libtommath
      % locate libtommath

     Where to find more information:

    Darwin Ports



    image test