Created
August 7, 2009 17:56
-
-
Save jkriss/164052 to your computer and use it in GitHub Desktop.
This file contains 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
package :imagemagick do | |
description "ImageMagick" | |
version '6.5.4-10' | |
source "ftp://ftp.fifi.org/pub/ImageMagick/ImageMagick-#{version}.tar.gz" do | |
prefix '/usr' | |
disable 'static' | |
enable 'shared' | |
with %w(modules quantum-depth=8) | |
without %w(perl magick-plus-plus) | |
end | |
verify do | |
has_executable 'convert' | |
end | |
requires :imagemagick_dependencies | |
end | |
package :imagemagick_dependencies do | |
apt 'libpng12-dev' | |
requires :libjpeg | |
end | |
package :libjpeg do | |
version '7' | |
source "http://www.ijg.org/files/jpegsrc.v#{version}.tar.gz" do | |
custom_dir 'jpeg-7' | |
prefix '/usr' | |
enable 'shared' | |
end | |
verify do | |
has_file '/usr/lib/libjpeg.so.7' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment