Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 120 lines (95 sloc) 2.702 kb
43afaff @maddox initial
authored
1 #!/bin/sh
156494f @smtlaissezfaire Do all the downloading once. Don't re-download if already downloaded
smtlaissezfaire authored
2 set -e
3
4 function download() {
5 url=$1
6 base=$(basename $1)
7
8 if [[ ! -e $base ]]; then
9 echo "curling $url"
318435e Update urls for tiff and lcms libraries. Make it so curl follows redire...
Benjamin Thomas authored
10 curl -O -L $url
156494f @smtlaissezfaire Do all the downloading once. Don't re-download if already downloaded
smtlaissezfaire authored
11 fi
12 }
13
b7aff10 @maddox make it cleaner
authored
14 mkdir magick-installer
15 cd magick-installer
16
926f948 @bagilevi Added iconv
bagilevi authored
17 download http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz
f85591f @fffabs Updated packages and broken links
fffabs authored
18 download http://nongnu.askapache.com/freetype/freetype-2.4.3.tar.gz
7a5405a @breadbeard New repo for libpng-1.5.5.tar.gz
breadbeard authored
19 download http://sourceforge.net/projects/libpng/files/libpng15/older-releases/1.5.5/libpng-1.5.5.tar.gz
0e60379 @maddox updated jpg url - closes #21
authored
20 download http://www.imagemagick.org/download/delegates/jpegsrc.v8b.tar.gz
b4d2a55 @LFabien Update broken links for libpng and tiff
LFabien authored
21 download http://download.osgeo.org/libtiff/tiff-3.9.4.tar.gz
156494f @smtlaissezfaire Do all the downloading once. Don't re-download if already downloaded
smtlaissezfaire authored
22 download http://voxel.dl.sourceforge.net/project/wvware/libwmf/0.2.8.4/libwmf-0.2.8.4.tar.gz
318435e Update urls for tiff and lcms libraries. Make it so curl follows redire...
Benjamin Thomas authored
23 download http://downloads.sourceforge.net/project/lcms/lcms/1.19/lcms-1.19.tar.gz
7ed2d31 @ffmike Bump GhostScript version
ffmike authored
24 download http://sourceforge.net/projects/ghostscript/files/GPL%20Ghostscript/9.04/ghostscript-9.04.tar.gz
156494f @smtlaissezfaire Do all the downloading once. Don't re-download if already downloaded
smtlaissezfaire authored
25 download http://voxel.dl.sourceforge.net/project/gs-fonts/gs-fonts/8.11%20%28base%2035%2C%20GPL%29/ghostscript-fonts-std-8.11.tar.gz
7edf7c4 updated to 6.6.7-0
James Hill authored
26 download ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ImageMagick-6.6.7-0.tar.gz
ec58738 @jtrupiano Fail immediately when a command returns a non-0 status code.
jtrupiano authored
27
926f948 @bagilevi Added iconv
bagilevi authored
28
29 tar xzvf libiconv-1.13.1.tar.gz
30 cd libiconv-1.13.1
90d122f Update for 10.7 Lion
Dougal MacPherson authored
31 cd libcharset
926f948 @bagilevi Added iconv
bagilevi authored
32 ./configure --prefix=/usr/local
33 make
34 sudo make install
90d122f Update for 10.7 Lion
Dougal MacPherson authored
35 cd ../..
926f948 @bagilevi Added iconv
bagilevi authored
36
f85591f @fffabs Updated packages and broken links
fffabs authored
37 tar xzvf freetype-2.4.3.tar.gz
38 cd freetype-2.4.3
43afaff @maddox initial
authored
39 ./configure --prefix=/usr/local
59b5422 @fffabs Added repetition support, updated architecture flag
fffabs authored
40 make clean
43afaff @maddox initial
authored
41 make
42 sudo make install
43 cd ..
44
b322f6e @ffmike Bump libpng version to 1.5.5
ffmike authored
45 tar xzvf libpng-1.5.5.tar.gz
46 cd libpng-1.5.5
43afaff @maddox initial
authored
47 ./configure --prefix=/usr/local
59b5422 @fffabs Added repetition support, updated architecture flag
fffabs authored
48 make clean
43afaff @maddox initial
authored
49 make
50 sudo make install
51 cd ..
52
156494f @smtlaissezfaire Do all the downloading once. Don't re-download if already downloaded
smtlaissezfaire authored
53
f85591f @fffabs Updated packages and broken links
fffabs authored
54 tar xzvf jpegsrc.v8b.tar.gz
55 cd jpeg-8b
b322f6e @ffmike Bump libpng version to 1.5.5
ffmike authored
56 ln -s -f `which glibtool` ./libtool
90d122f Update for 10.7 Lion
Dougal MacPherson authored
57 export MACOSX_DEPLOYMENT_TARGET=10.7
43afaff @maddox initial
authored
58 ./configure --enable-shared --prefix=/usr/local
59b5422 @fffabs Added repetition support, updated architecture flag
fffabs authored
59 make clean
43afaff @maddox initial
authored
60 make
61 sudo make install
62 cd ..
63
156494f @smtlaissezfaire Do all the downloading once. Don't re-download if already downloaded
smtlaissezfaire authored
64
318435e Update urls for tiff and lcms libraries. Make it so curl follows redire...
Benjamin Thomas authored
65 tar xzvf tiff-3.9.4.tar.gz
66 cd tiff-3.9.4
43afaff @maddox initial
authored
67 ./configure --prefix=/usr/local
59b5422 @fffabs Added repetition support, updated architecture flag
fffabs authored
68 make clean
43afaff @maddox initial
authored
69 make
70 sudo make install
71 cd ..
72
156494f @smtlaissezfaire Do all the downloading once. Don't re-download if already downloaded
smtlaissezfaire authored
73
43afaff @maddox initial
authored
74 tar xzvf libwmf-0.2.8.4.tar.gz
75 cd libwmf-0.2.8.4
76 ./configure
59b5422 @fffabs Added repetition support, updated architecture flag
fffabs authored
77 make clean
43afaff @maddox initial
authored
78 make
79 sudo make install
80 cd ..
81
156494f @smtlaissezfaire Do all the downloading once. Don't re-download if already downloaded
smtlaissezfaire authored
82
9b43f29 @maddox new lcms url
authored
83 tar xzvf lcms-1.19.tar.gz
84 cd lcms-1.19
43afaff @maddox initial
authored
85 ./configure
59b5422 @fffabs Added repetition support, updated architecture flag
fffabs authored
86 make clean
43afaff @maddox initial
authored
87 make
88 sudo make install
89 cd ..
90
156494f @smtlaissezfaire Do all the downloading once. Don't re-download if already downloaded
smtlaissezfaire authored
91
7ed2d31 @ffmike Bump GhostScript version
ffmike authored
92 tar zxvf ghostscript-9.04.tar.gz
93 cd ghostscript-9.04
43afaff @maddox initial
authored
94 ./configure --prefix=/usr/local
59b5422 @fffabs Added repetition support, updated architecture flag
fffabs authored
95 make clean
43afaff @maddox initial
authored
96 make
97 sudo make install
98 cd ..
99
156494f @smtlaissezfaire Do all the downloading once. Don't re-download if already downloaded
smtlaissezfaire authored
100
43afaff @maddox initial
authored
101 tar zxvf ghostscript-fonts-std-8.11.tar.gz
59b5422 @fffabs Added repetition support, updated architecture flag
fffabs authored
102 sudo mkdir -p /usr/local/share/ghostscript/fonts
103 sudo mv -f fonts/* /usr/local/share/ghostscript/fonts
43afaff @maddox initial
authored
104
156494f @smtlaissezfaire Do all the downloading once. Don't re-download if already downloaded
smtlaissezfaire authored
105
7edf7c4 updated to 6.6.7-0
James Hill authored
106 tar xzvf ImageMagick-6.6.7-0.tar.gz
107 cd ImageMagick-6.6.7-0
43afaff @maddox initial
authored
108 export CPPFLAGS=-I/usr/local/include
109 export LDFLAGS=-L/usr/local/lib
6937dbe @maddox fixes #6
authored
110 ./configure --prefix=/usr/local --disable-static --without-fontconfig --with-modules --without-perl --without-magick-plus-plus --with-quantum-depth=8 --with-gs-font-dir=/usr/local/share/ghostscript/fonts --disable-openmp
59b5422 @fffabs Added repetition support, updated architecture flag
fffabs authored
111 make clean
43afaff @maddox initial
authored
112 make
113 sudo make install
114 cd ..
b7aff10 @maddox make it cleaner
authored
115
116 cd ..
117 rm -Rf magick-installer
118
119 echo "ImageMagick successfully installed!"
Something went wrong with that request. Please try again.