diff options
| author | Max Howell | 2009-08-08 14:08:13 +0100 |
|---|---|---|
| committer | Max Howell | 2009-08-10 18:12:16 +0100 |
| commit | e71f1e30933a869662f5e0481cb613b670bc6f21 (patch) | |
| tree | 94b5daebd134e2833f7fff69284ddd0b125ac6fd /Library/Formula | |
| parent | c17e31c17959097662e7bfedc07a3648cbf14185 (diff) | |
| download | homebrew-e71f1e30933a869662f5e0481cb613b670bc6f21.tar.bz2 | |
FIX ImageMagick formula
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/imagemagick.rb | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/Library/Formula/imagemagick.rb b/Library/Formula/imagemagick.rb index 4c4543f80..5443554b3 100644 --- a/Library/Formula/imagemagick.rb +++ b/Library/Formula/imagemagick.rb @@ -1,8 +1,8 @@ require 'brewkit' class Imagemagick <Formula - @url='ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.5.3-10.tar.bz2' - @md5='ad485ed0eca5eb8b8a1649bae40cec7d' + @url='ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.5.4-9.tar.bz2' + @md5='25391113fbcd5642b67949756fd078cb' @homepage='http://www.imagemagick.org' def deps @@ -10,11 +10,27 @@ class Imagemagick <Formula end def install - system "./configure", "--disable-debug", - "--disable-dependency-tracking", - "--without-maximum-compile-warnings", - "--prefix=#{prefix}" + ENV.libpng ENV.deparallelize + + # versioned stuff in main tree is pointless for us + inreplace 'configure', '${PACKAGE_NAME}-${PACKAGE_VERSION}', '${PACKAGE_NAME}' + + system "./configure", "--disable-dependency-tracking", + "--without-maximum-compile-warnings", + "--prefix=#{prefix}", + "--disable-osx-universal-binary", + "--without-perl" # I couldn't make this compile system "make install" + + # We already copy these in + d=prefix+'share'+'ImageMagick' + (d+'NEWS.txt').unlink + (d+'LICENSE').unlink + (d+'ChangeLog').unlink + end + + def caveats + "This package is a bit of a mess, lots of components don't get compiled." end end
\ No newline at end of file |
