blob: 8d2e4dbbb428657170a56be41d995362b15c11e8 (
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
25
26
  | 
require 'formula'
class Swftools <Formula
  url 'http://www.swftools.org/swftools-0.9.1.tar.gz'
  homepage 'http://www.swftools.org'
  md5 '72dc4a7bf5cdf98c28f9cf9b1d8f5d7a'
  depends_on 'jpeg'
  depends_on 'lame' => :optional
  def install
    ENV.x11 # Add to PATH for freetype-config on Snow Leopard
    ENV.minimal_optimization
    system "./configure", "--prefix=#{prefix}"
    system "make"
    system "make install"
  end
  def caveats; <<-EOS.undent
    `swfc` segfaults under Snow Leopard.
    Please persue this issue with the softare vendor:
      http://lists.nongnu.org/mailman/listinfo/swftools-common
    EOS
  end
end
  |