Created
November 11, 2014 21:38
-
-
Save Starefossen/42c665b536c14ea112ac to your computer and use it in GitHub Desktop.
Build ImageMagick from source
This file contains hidden or 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/bash | |
magick_version=6.8.9-10 | |
magick_install_dir="$HOME/image_magick" | |
magick_download_url="http://imagemagick.org/download/releases/ImageMagick-$magick_version.tar.gz" | |
rm -rf $magick_install_dir/* | |
mkdir -p $magick_install_dir && cd $magick_install_dir | |
curl -L $magick_download_url | tar -zxf- | |
cd ImageMagick* | |
./configure \ | |
--prefix=$magick_install_dir | |
--disable-static \ | |
--enable-shared \ | |
--with-jp2 \ | |
--with-jpeg \ | |
--with-png \ | |
--with-quantum-depth=8 \ | |
--with-rsvg \ | |
--with-webp \ | |
--without-bzlib \ | |
--without-djvu \ | |
--without-dps \ | |
--without-fftw \ | |
--without-fontconfig \ | |
--without-freetype \ | |
--without-gvc \ | |
--without-jbig \ | |
--without-lcms \ | |
--without-lcms2 \ | |
--without-lqr \ | |
--without-lzma \ | |
--without-magick-plus-plus \ | |
--without-openexr \ | |
--without-pango \ | |
--without-perl \ | |
--without-tiff \ | |
--without-wmf \ | |
--without-x \ | |
--without-xml \ | |
--without-zlib | |
make | |
make install | |
ldconfig /usr/local/lib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment