Sha256: 699519149b8261fa81790e221c4cac5c0a970ebc008c315f45d58fb50b87e12a

Contents?: true

Size: 416 Bytes

Versions: 1

Compression:

Stored size: 416 Bytes

Contents

# Configure and install imagemagick; detects if cached compiled version exists.

check_cached() {
  [ "$(find . -name '*.o')" ]
}

build_im() {
  git clone 'https://github.com/ImageMagick/ImageMagick' ./ \
     --branch "$imagemagick_version"

  rm -rf '.git'

  ./configure
  make
}

[ -d 'imagemagick' ] || mkdir imagemagick
cd imagemagick

check_cached || build_im

sudo make install
sudo ldconfig /usr/local/lib

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll_picture_tag-1.14.0 install_imagemagick.sh