Download and Install mipsel-linux-uclib version 0.9.27 on Mac OS X
Tuesday the 2nd of December, 2008

    mipsel-linux-uclib  most recent diff


    version 0.9.27

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



      # $Id: Portfile 30222 2007-10-22 22:44:41Z jmpp macports.org $

      PortSystem 1.0

      Name: mipsel-linux-uclib
      Version: 0.9.27
      Category: cross
      Platform: darwin
      Maintainers: nomaintainer
      Description: uClib library for mipsel-linux cross development
      Long Description: ${description}

      Homepage: http://www.uclibc.org/
      master_sites http://www.uclibc.org/downloads/
      distname uClibc-${version}
      checksums sha1 e0de53949998253e25e6b946b564062babb723b4
      use_bzip2 yes

      patchfiles patch-Makefile 100-gcc4_fix.patch 110-inet6_hosts_resolve.patch 120-more_standard_math.patch

      dist_subdir uclib

      depends_build port:coreutils
      depends_lib port:mipsel-linux-binutils port:mipsel-linux-gcc34

      set target mipsel-linux-uclibc
      set htarget mipsel-linux
      set cprefix ${prefix}/cross/${target}

      extract.post_args "| tar -xf - --exclude '.cvsignore'"

      post-extract {
      file copy ${filespath}/config.mips ${worksrcpath}/.config
      }

      patch.pre_args -p1
      post-patch {
      reinplace "s|.*UCLIBC_HAS_LFS.*|UCLIBC_HAS_LFS=n|g" ${worksrcpath}/.config
      reinplace "s|.*UCLIBC_HAS_WCHAR.*|UCLIBC_HAS_WCHAR=y|g" ${worksrcpath}/.config
      reinplace "s|^KERNEL_SOURCE=.*|KERNEL_SOURCE=${prefix}/cross/mipsel-linux-uclibc/include/linux/|g" ${worksrcpath}/.config
      }

      use_configure no

      build.env PATH=${cprefix}/bin:$env(PATH)
      build.args PREFIX= DEVEL_PREFIX=/ RUNTIME_PREFIX=/ HOSTCC=/usr/bin/gcc CROSS=${target}-
      build.target all

      pre-destroot {
      xinstall -m 755 -d ${destroot}${cprefix}/uclibc/usr/lib
      }
      destroot.target install_runtime install_dev
      destroot.args PREFIX=${destroot}${cprefix}/uclibc DEVEL_PREFIX=/usr/ RUNTIME_PREFIX=/ HOSTCC=gcc
      destroot.destdir
      post-destroot {
      file delete -force ${destroot}${cprefix}/uclibc/usr/include
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.