Lzo2 version 2.03 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 2.03

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


      The lzo2 Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: lzo2
      set my_name lzo
      Version: 2.03
      Revision: 1
      Category: archivers
      Platform: darwin
      Maintainers: gmail.com:yunzheng.hu
      Description: Real-time data compression library

      Long Description: LZO is a portable lossless data compression library written in ANSI C. It offers pretty fast compression and very fast decompression. Decompression requires no memory. In addition there are slower compression levels achieving a quite competitive compression ratio while still decompressing at this very high speed. LZO is distributed under the GNU General Public License.

      Homepage: http://www.oberhumer.com/opensource/lzo/
      Master Sites: ${homepage}download/ ftp://ftp.uni-koeln.de/util/arc/
      distname ${my_name}-${version}

      Checksums: md5 0c3d078c2e8ea5a88971089a2f02a726 sha1 135a50699296e853362a3d11b9f872c74c8b8c5a rmd160 1c2eb11ba2babd81236128b7fef3676c9db7da51

      configure.args --enable-shared --disable-static --disable-asm

      test.run yes
      test.target check

      platform darwin 8 {
      # supposedly, the asm bits work on tiger
      configure.args-delete --disable-asm
      }

      post-destroot {
      set docdir ${prefix}/share/doc/${my_name}-${version}

      xinstall -d ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath} AUTHORS BUGS COPYING ChangeLog NEWS README THANKS ${destroot}${docdir}
      eval xinstall -m 0644 [glob ${worksrcpath}/doc/*] ${destroot}${docdir}
      }

      livecheck.type regex
      livecheck.url ${homepage}
      livecheck.regex "Version (\\d+(?:\\.\\d+)*)"


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.