From 8a41828a619e93a7799ccc39d255b9258cd95e5b Mon Sep 17 00:00:00 2001 From: Rob Olson Date: Wed, 21 Oct 2009 23:27:47 -0700 Subject: 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. --- Library/Formula/graphicsmagick.rb | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Library/Formula/graphicsmagick.rb (limited to 'Library') 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 :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 -- cgit v1.2.3