Sha256: bdf47f691929f4d17c64972c4918c1bdc365231c917d15e4c80b8496e1acd1ff

Contents?: true

Size: 769 Bytes

Versions: 2

Compression:

Stored size: 769 Bytes

Contents

namespace :imagemagick do 
  namespace :centos do
  
    desc <<-DESC
    Install imagemagick.
    
    "Source":#{link_to_source(__FILE__)}
    DESC
    task_arg(:imagemagick_build_options, <<-EOS)
    Imagemagick build options
    <pre>
    <code class="ruby">
    set :imagemagick_build_options, {
      :url => "ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz",
      :unpack_dir => "ImageMagick-*"
    }
    </code>
    </pre>
    EOS
    task :install do      
      # Install dependencies
      yum.install([ "libjpeg-devel", "libpng-devel", "glib2-devel", "fontconfig-devel", "zlib-devel", 
        "libwmf-devel", "freetype-devel", "libtiff-devel" ])
        
      build.make_install("imagemagick", imagemagick_build_options)
    end
  
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
calas-capitate-0.3.6 lib/recipes/centos/imagemagick.rb
capitate-0.3.6 lib/recipes/centos/imagemagick.rb