blob: 49e28e6cd6a9431bdba64a60a05a38f2dba30e71 (
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.0.tar.gz'
homepage 'http://www.swftools.org'
md5 '946e7c692301a332745d29140bc74e55'
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
|