Libusb version 0.1.12 - How to Download and Install on Mac OS X
Friday the 3rd of July, 2009

    version 0.1.12

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


      The libusb Portfile 42112 2008-11-15 13:32:27Z illogic-al macports.org $

      PortSystem 1.0

      Name: libusb
      Version: 0.1.12
      Revision: 1
      Category: devel
      Maintainers: rwilcox wilcoxd.com
      Description: Library providing access to USB devices
      Long Description: A library originally developed under Linux to give userland programs an API to access to USB hardware.
      Homepage: http://libusb.sourceforge.net/
      Platform: darwin
      Master Sites: sourceforge
      Checksums: sha1 599a5168590f66bc6f1f9a299579fd8500614807
      configure.args --disable-build-docs

      Patch Files: patch-darwin.c.diff

      post-configure {
      if {[variant_isset universal]} {
      reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" ${worksrcpath}/libtool
      }
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.