2009-11-12 17:46:35 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Swfmill < Formula
|
2009-11-12 17:46:35 +00:00
|
|
|
homepage 'http://swfmill.org'
|
2012-02-10 05:59:44 +00:00
|
|
|
url 'http://swfmill.org/releases/swfmill-0.3.2.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'e7ac1f267e4cbb8166acf6af78ddae914feed207'
|
2009-11-12 17:46:35 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-01-25 22:10:38 +00:00
|
|
|
|
2009-11-12 17:46:35 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2012-02-10 05:59:44 +00:00
|
|
|
# Has trouble linking against zlib unless we add it here - @adamv
|
|
|
|
system "make", "LIBS=-lz", "install"
|
2009-11-12 17:46:35 +00:00
|
|
|
end
|
|
|
|
end
|