aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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