Skip to content

Instantly share code, notes, and snippets.

@eegrok
Forked from jellybeansoup/cltools.sh
Last active August 29, 2015 14:05
Show Gist options
  • Save eegrok/1b4b1a9eb5fbc40245c5 to your computer and use it in GitHub Desktop.
Save eegrok/1b4b1a9eb5fbc40245c5 to your computer and use it in GitHub Desktop.

Revisions

  1. eegrok revised this gist Aug 21, 2014. 1 changed file with 0 additions and 4 deletions.
    4 changes: 0 additions & 4 deletions libxml2.sh
    Original file line number Diff line number Diff line change
    @@ -10,10 +10,6 @@
    export build=~/src # or wherever you'd like to build
    mkdir -p $build

    ##
    # Autoconf
    # http://ftpmirror.gnu.org/autoconf

    cd $build
    git clone git://git.gnome.org/libxml2
    cd libxml2
  2. eegrok revised this gist Aug 21, 2014. 2 changed files with 4 additions and 4 deletions.
    4 changes: 2 additions & 2 deletions cltools.sh
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    #!/bin/sh

    ##
    # Install autoconf, automake and libtool smoothly on Mac OS X.
    # Newer versions of these libraries are available and may work better on OS X
    # Install autoconf, automake, libtool and pkg-config smoothly on Mac OS X.
    # Newer versions of these libraries may be available and may work better on OS X
    #
    # This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
    #
    4 changes: 2 additions & 2 deletions libxml2.sh
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    #!/bin/sh

    ##
    # Install autoconf, automake and libtool smoothly on Mac OS X.
    # Newer versions of these libraries are available and may work better on OS X
    # Install libxml2 on Mac OS X.
    # Newer versions of these libraries may be available and may work better on OS X
    #
    # This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
    #
  3. eegrok revised this gist Aug 21, 2014. 1 changed file with 26 additions and 0 deletions.
    26 changes: 26 additions & 0 deletions libxml2.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    #!/bin/sh

    ##
    # Install autoconf, automake and libtool smoothly on Mac OS X.
    # Newer versions of these libraries are available and may work better on OS X
    #
    # This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
    #

    export build=~/src # or wherever you'd like to build
    mkdir -p $build

    ##
    # Autoconf
    # http://ftpmirror.gnu.org/autoconf

    cd $build
    git clone git://git.gnome.org/libxml2
    cd libxml2
    autoreconf -vif
    ./configure
    make
    sudo make install


    echo "Installation complete."
  4. eegrok revised this gist Aug 21, 2014. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions cltools.sh
    Original file line number Diff line number Diff line change
    @@ -46,4 +46,13 @@ cd libtool-2.4.2
    make
    sudo make install

    # install pkgconfig
    cd $build
    curl -OL http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz
    cd pkg-config-0.28
    ./configure --prefix=/usr/local --with-internal-glib
    make
    sudo make install


    echo "Installation complete."
  5. eegrok revised this gist Aug 21, 2014. 1 changed file with 0 additions and 0 deletions.
    Empty file modified cltools.sh
    100644 → 100755
    Empty file.
  6. eegrok revised this gist Aug 21, 2014. 1 changed file with 11 additions and 12 deletions.
    23 changes: 11 additions & 12 deletions cltools.sh
    Original file line number Diff line number Diff line change
    @@ -7,30 +7,29 @@
    # This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
    #

    export build=~/devtools # or wherever you'd like to build
    export build=~/src # or wherever you'd like to build
    mkdir -p $build

    ##
    # Autoconf
    # http://ftpmirror.gnu.org/autoconf

    cd $build
    curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.68.tar.gz
    tar xzf autoconf-2.68.tar.gz
    cd autoconf-2.68
    curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz
    tar xzf autoconf-2.69.tar.gz
    cd autoconf-2.69
    ./configure --prefix=/usr/local
    make
    sudo make install
    export PATH=/usr/local/bin

    ##
    # Automake
    # http://ftpmirror.gnu.org/automake

    cd $build
    curl -OL http://ftpmirror.gnu.org/automake/automake-1.11.tar.gz
    tar xzf automake-1.11.tar.gz
    cd automake-1.11
    curl -OL http://ftpmirror.gnu.org/automake/automake-1.14.1.tar.gz
    tar xzf automake-1.14.1.tar.gz
    cd automake-1.14.1
    ./configure --prefix=/usr/local
    make
    sudo make install
    @@ -40,11 +39,11 @@ sudo make install
    # http://ftpmirror.gnu.org/libtool

    cd $build
    curl -OL http://ftpmirror.gnu.org/libtool/libtool-2.4.tar.gz
    tar xzf libtool-2.4.tar.gz
    cd libtool-2.4
    curl -OL http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz
    tar xzf libtool-2.4.2.tar.gz
    cd libtool-2.4.2
    ./configure --prefix=/usr/local
    make
    sudo make install

    echo "Installation complete."
    echo "Installation complete."
  7. @jellybeansoup jellybeansoup revised this gist Dec 3, 2012. 1 changed file with 8 additions and 8 deletions.
    16 changes: 8 additions & 8 deletions cltools.sh
    Original file line number Diff line number Diff line change
    @@ -18,10 +18,10 @@ cd $build
    curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.68.tar.gz
    tar xzf autoconf-2.68.tar.gz
    cd autoconf-2.68
    ./configure --prefix=$build/autotools-bin
    ./configure --prefix=/usr/local
    make
    make install
    export PATH=$PATH:$build/autotools-bin/bin
    sudo make install
    export PATH=/usr/local/bin

    ##
    # Automake
    @@ -31,9 +31,9 @@ cd $build
    curl -OL http://ftpmirror.gnu.org/automake/automake-1.11.tar.gz
    tar xzf automake-1.11.tar.gz
    cd automake-1.11
    ./configure --prefix=$build/autotools-bin
    ./configure --prefix=/usr/local
    make
    make install
    sudo make install

    ##
    # Libtool
    @@ -43,8 +43,8 @@ cd $build
    curl -OL http://ftpmirror.gnu.org/libtool/libtool-2.4.tar.gz
    tar xzf libtool-2.4.tar.gz
    cd libtool-2.4
    ./configure --prefix=$build/autotools-bin
    ./configure --prefix=/usr/local
    make
    make install
    sudo make install

    echo "Installation complete."
    echo "Installation complete."
  8. @jellybeansoup jellybeansoup created this gist Dec 3, 2012.
    50 changes: 50 additions & 0 deletions cltools.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,50 @@
    #!/bin/sh

    ##
    # Install autoconf, automake and libtool smoothly on Mac OS X.
    # Newer versions of these libraries are available and may work better on OS X
    #
    # This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
    #

    export build=~/devtools # or wherever you'd like to build
    mkdir -p $build

    ##
    # Autoconf
    # http://ftpmirror.gnu.org/autoconf

    cd $build
    curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.68.tar.gz
    tar xzf autoconf-2.68.tar.gz
    cd autoconf-2.68
    ./configure --prefix=$build/autotools-bin
    make
    make install
    export PATH=$PATH:$build/autotools-bin/bin

    ##
    # Automake
    # http://ftpmirror.gnu.org/automake

    cd $build
    curl -OL http://ftpmirror.gnu.org/automake/automake-1.11.tar.gz
    tar xzf automake-1.11.tar.gz
    cd automake-1.11
    ./configure --prefix=$build/autotools-bin
    make
    make install

    ##
    # Libtool
    # http://ftpmirror.gnu.org/libtool

    cd $build
    curl -OL http://ftpmirror.gnu.org/libtool/libtool-2.4.tar.gz
    tar xzf libtool-2.4.tar.gz
    cd libtool-2.4
    ./configure --prefix=$build/autotools-bin
    make
    make install

    echo "Installation complete."