Sha256: c02327cadd60d46194510f516a2d75104dee8fb734d22aac3a725251692e73ff

Contents?: true

Size: 554 Bytes

Versions: 2

Compression:

Stored size: 554 Bytes

Contents

namespace :imagemagick do 
  namespace :centos do
  
    desc "Install imagemagick"
    task :install do
      
      # Install dependencies
      yum.install([ "libjpeg-devel", "libpng-devel", "glib2-devel", "fontconfig-devel", "zlib-devel", 
        "libwmf-devel", "freetype-devel", "libtiff-devel" ])
    
      imagemagick_options = {
        :url => "ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz",
        :unpack_dir => "ImageMagick-*"
      }
    
      script.make_install("imagemagick", imagemagick_options)
    end
  
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capitate-0.1.8 lib/recipes/centos/imagemagick.rb
capitate-0.1.9 lib/recipes/centos/imagemagick.rb