blob: f470e8ad9d49bce5f118444ee43cf6778500fea6 (
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
27
28
29
30
|
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.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.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
|