aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/swftools.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-01 11:51:45 -0700
committerAdam Vandenberg2010-04-01 11:51:56 -0700
commit605100ff5e8dabb730cdeb4aacedf0b544f6b6ed (patch)
tree113a4f6a61b7614fdd94349974d67e378bf4ab5f /Library/Formula/swftools.rb
parentd1a114e11c76a6339d780e7233cd0fef0137a626 (diff)
downloadhomebrew-605100ff5e8dabb730cdeb4aacedf0b544f6b6ed.tar.bz2
Update swftools and add note about its 10.6 brokenness.
Diffstat (limited to 'Library/Formula/swftools.rb')
-rw-r--r--Library/Formula/swftools.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/swftools.rb b/Library/Formula/swftools.rb
index 5034e7a95..950b1a6e2 100644
--- a/Library/Formula/swftools.rb
+++ b/Library/Formula/swftools.rb
@@ -6,11 +6,25 @@ class Swftools <Formula
md5 '946e7c692301a332745d29140bc74e55'
depends_on 'jpeg'
+ depends_on 'lame' => :optional
def install
ENV.minimal_optimization
+
+ # Need to add freetype-config and other X11 utils to the path
+ ENV.x11
+ ENV.append 'PATH', '/usr/x11/bin', ':'
+
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
end
+
+ def caveats
+ <<-EOS
+ swfc segfaults under Snow Leopard. Please persue this issue
+ with the softare vendor:
+ http://lists.nongnu.org/mailman/listinfo/swftools-common
+ EOS
+ end
end