Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

About this user

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

install rmagick on leopard

   1  
   2  #!/bin/sh
   3  curl -O http://download.savannah.gnu.org/releases/freetype/freetype-2.3.5.tar.gz
   4  tar xzvf freetype-2.3.5.tar.gz
   5  cd freetype-2.3.5
   6  ./configure --prefix=/usr/local
   7  make
   8  sudo make install
   9  cd ..
  10  
  11  curl -O http://superb-west.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.22.tar.bz2
  12  tar jxvf libpng-1.2.22.tar.bz2
  13  cd libpng-1.2.22
  14  ./configure --prefix=/usr/local
  15  make
  16  sudo make install
  17  cd ..
  18  
  19  curl -O ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
  20  tar xzvf jpegsrc.v6b.tar.gz
  21  cd jpeg-6b
  22  ln -s `which glibtool` ./libtool
  23  export MACOSX_DEPLOYMENT_TARGET=10.5
  24  ./configure --enable-shared --prefix=/usr/local
  25  make
  26  sudo make install
  27  cd ..
  28  
  29  curl -O ftp://ftp.remotesensing.org/libtiff/tiff-3.8.2.tar.gz
  30  tar xzvf tiff-3.8.2.tar.gz
  31  cd tiff-3.8.2
  32  ./configure --prefix=/usr/local
  33  make
  34  sudo make install
  35  cd ..
  36  
  37  curl -O http://jaist.dl.sourceforge.net/sourceforge/wvware/libwmf-0.2.8.4.tar.gz
  38  tar xzvf libwmf-0.2.8.4.tar.gz
  39  cd libwmf-0.2.8.4
  40  make clean
  41  ./configure
  42  make
  43  sudo make install
  44  cd ..
  45  
  46  curl -O http://www.littlecms.com/lcms-1.17.tar.gz
  47  tar xzvf lcms-1.17.tar.gz
  48  cd lcms-1.17
  49  make clean
  50  ./configure
  51  make
  52  sudo make install
  53  cd ..
  54  
  55  curl -O ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs860/ghostscript-8.60.tar.gz
  56  tar zxvf ghostscript-8.60.tar.gz
  57  cd ghostscript-8.60/
  58  ./configure  --prefix=/usr/local
  59  make
  60  sudo make install
  61  cd ..
  62  
  63  curl -O ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/current/ghostscript-fonts-std-8.11.tar.gz
  64  tar zxvf ghostscript-fonts-std-8.11.tar.gz
  65  sudo mv fonts /usr/local/share/ghostscript
  66  
  67  curl -O http://imagemagick.site2nd.org/imagemagick/ImageMagick-6.3.5-9.tar.gz
  68  tar xzvf ImageMagick-6.3.5-9.tar.gz
  69  cd ImageMagick-6.3.5
  70  export CPPFLAGS=-I/usr/local/include
  71  export LDFLAGS=-L/usr/local/lib
  72  ./configure --prefix=/usr/local --disable-static --with-modules --without-perl --without-magick-plus-plus --with-quantum-depth=8 --with-gs-font-dir=/usr/local/share/ghostscript/fonts
  73  make
  74  sudo make install
  75  cd ..
  76  
  77  sudo gem install RMagick
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS