Pure-odbc version 0.4 - How to Download and Install on Mac OS X
Monday the 23rd of November, 2009

    pure-odbc  most recent diff


    version 0.4

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


      The pure-odbc Portfile 59323 2009-10-13 15:21:28Z ryandesign macports.org $

      PortSystem 1.0

      Name: pure-odbc
      Version: 0.4
      Revision: 2
      Category: databases
      Platform: darwin
      Maintainers: ryandesign
      use_parallel_build yes
      Homepage: http://pure-lang.googlecode.com/
      Master Sites: ${homepage}files/

      Description: a simple ODBC interface for the Pure programming language

      Long Description: ${name} provides ${description} which lets you access a large variety of open source and commercial database systems from Pure

      Checksums: md5 6c1baddf9f6008220b4be5524348046a sha1 bc4097eab3ec227c8500429ed3312fb17badacd7 rmd160 865006f880ef3f698244059f9758b89fcbc4c9b3

      depends_lib-append path:lib/libpure.dylib:pure path:lib/libgmp.dylib:gmp path:lib/libodbc.dylib:unixODBC

      use_configure no

      pre-build {
      build.args-append CC=${configure.cc} CFLAGS="${configure.cflags}" CPPFLAGS="${configure.cppflags}" LDFLAGS="${configure.ldflags}"
      }

      post-destroot {
      xinstall -d ${destroot}${prefix}/share/doc/${name} ${destroot}${prefix}/share/examples
      xinstall -m 644 -W ${worksrcpath} COPYING README ${destroot}${prefix}/share/doc/${name}
      copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${name}
      }

      livecheck.type regex
      livecheck.url http://code.google.com/p/pure-lang/downloads/list
      livecheck.regex ${name}-(\[0-9.\]+)\\.tar

    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/pure-odbc
      % sudo port install pure-odbc
      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 pure-odbc
      ---> Verifying checksum for pure-odbc
      ---> Extracting pure-odbc
      ---> Configuring pure-odbc
      ---> Building pure-odbc with target all
      ---> Staging pure-odbc into destroot
      ---> Installing pure-odbc
    - 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 pure-odbc with these commands:
      %  man pure-odbc
      % apropos pure-odbc
      % which pure-odbc
      % locate pure-odbc

     Where to find more information:

    Darwin Ports



    Lightbox this page.