Created
April 17, 2009 18:47
-
-
Save myobie/97188 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
wget http://download.savannah.gnu.org/releases/freetype/freetype-2.3.9.tar.gz | |
tar xzvf freetype-2.3.9.tar.gz | |
cd freetype-2.3.9 | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
cd .. | |
wget http://superb-west.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.35.tar.bz2 | |
tar jxvf libpng-1.2.35.tar.bz2 | |
cd libpng-1.2.35 | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
cd .. | |
wget ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz | |
tar xzvf jpegsrc.v6b.tar.gz | |
cd jpeg-6b | |
ln -s `which glibtool` ./libtool | |
export MACOSX_DEPLOYMENT_TARGET=10.5 | |
./configure --enable-shared --prefix=/usr/local | |
make | |
sudo make install | |
cd .. | |
wget ftp://ftp.remotesensing.org/libtiff/tiff-3.8.2.tar.gz | |
tar xzvf tiff-3.8.2.tar.gz | |
cd tiff-3.8.2 | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
cd .. | |
wget http://jaist.dl.sourceforge.net/sourceforge/wvware/libwmf-0.2.8.4.tar.gz | |
tar xzvf libwmf-0.2.8.4.tar.gz | |
cd libwmf-0.2.8.4 | |
make clean | |
./configure | |
make | |
sudo make install | |
cd .. | |
wget http://www.littlecms.com/lcms-1.18.tar.gz | |
tar xzvf lcms-1.18.tar.gz | |
cd lcms-1.18 | |
make clean | |
./configure | |
make | |
sudo make install | |
cd .. | |
wget http://ghostscript.com/releases/ghostscript-8.64.tar.gz | |
tar zxvf ghostscript-8.64.tar.gz | |
cd ghostscript-8.64/ | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
cd .. | |
wget http://voxel.dl.sourceforge.net/sourceforge/gs-fonts/ghostscript-fonts-std-8.11.tar.gz | |
tar zxvf ghostscript-fonts-std-8.11.tar.gz | |
sudo mv fonts /usr/local/share/ghostscript | |
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz | |
tar xzvf ImageMagick.tar.gz | |
cd ImageMagick-6.5.1-3 | |
export CPPFLAGS=-I/usr/local/include | |
export LDFLAGS=-L/usr/local/lib | |
./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 | |
make | |
sudo make install | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment