diff options
| author | Rob Olson | 2009-10-21 23:27:47 -0700 |
|---|---|---|
| committer | Max Howell | 2009-11-07 18:22:36 +0000 |
| commit | 8a41828a619e93a7799ccc39d255b9258cd95e5b (patch) | |
| tree | 9d7840b004dc2923ea0810ff74e6829cbb06d96d | |
| parent | b26649cd62b315b95ef810b7dd67bf0c24ce560b (diff) | |
| download | homebrew-8a41828a619e93a7799ccc39d255b9258cd95e5b.tar.bz2 | |
GraphicsMagick formula
GraphicsMagick provides a set of commandline tools and programming
APIs (including C, C++, Perl, and Tcl) for manipulating, editing,
and converting raster and vector images. GraphicsMagick is a fork
of ImageMagick, emphasizing stability of both programming API and
command-line options.
| -rw-r--r-- | Library/Formula/graphicsmagick.rb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Library/Formula/graphicsmagick.rb b/Library/Formula/graphicsmagick.rb new file mode 100644 index 000000000..25740ca9c --- /dev/null +++ b/Library/Formula/graphicsmagick.rb @@ -0,0 +1,31 @@ +require 'formula' + +class Graphicsmagick <Formula + url 'http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.7/GraphicsMagick-1.3.7.tar.bz2' + homepage 'http://www.graphicsmagick.org/' + md5 '42bfd382ddcda399880721170bcbf61b' + + depends_on 'jpeg' + depends_on 'ghostscript' => :recommended + depends_on 'libwmf' => :optional + depends_on 'libtiff' => :optional + depends_on 'little-cms' => :optional + depends_on 'jasper' => :optional + + def install + ENV.libpng + ENV.gcc_4_2 + + # we do not need to version the stuff in the main tree + inreplace 'configure', '${PACKAGE_NAME}-${PACKAGE_VERSION}', '${PACKAGE_NAME}' + + system "./configure", "--prefix=#{prefix}", + "--disable-dependency-tracking", + "--enable-shared", + "--disable-static", + "--with-modules", + "--without-magick-plus-plus" + + system "make install" + end +end |
