blob: 89508072c6eef5f64f4e24dcacf3c9774a303335 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
require 'formula'
require "#{File.dirname __FILE__}/imagemagick.rb"
class Graphicsmagick < Imagemagick
url 'http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.12/GraphicsMagick-1.3.12.tar.bz2'
homepage 'http://www.graphicsmagick.org/'
md5 '55182f371f82d5f9367bce04e59bbf25'
def deps
# well this was an unexpected consequence of the DSL syntax, the dependencies
# aren't inherited
@deps ||= Formula.factory('imagemagick').deps
end
def install
ENV.libpng
ENV.gcc_4_2
fix_configure
system "./configure", *configure_args
system "make install"
end
end
|