#!/bin/sh # # script to download and build imatix on osx 10.5 # assumes wget is available (mine is from macports) # Cimarron Taylor, 12/16/2007 # if [ ! -e IBASE ]; then mkdir IBASE fi pushd IBASE export IBASE=`pwd` popd if [ ! -e KITS ]; then mkdir KITS pushd KITS wget http://download.imatix.com/pub/foreign-1.1d7-src.tar.gz wget http://download.imatix.com/pub/base-1.2d7-src.tar.gz wget http://download.imatix.com/pub/gsl-4.0c19-src.tar.gz popd fi if [ ! -e foreign-1.1d7 ]; then tar xfz KITS/foreign-1.1d7-src.tar.gz # # note that the $ characters are escaped in the following patch # to prevent sh from attempting to expand them # cat >patch.foreign-1.1d7 <patch.base-1.2d7 <