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'
|
|
|
|
md5 'c607f8aba506ec32cc4423446fe6644e'
|
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
|