Created
February 3, 2012 00:18
-
-
Save tmm1/1726684 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Swfmill < Formula | |
# Staying on 3.0 until this 3.1 issue is fixed: | |
# https://bugs.launchpad.net/swfmill/+bug/611403 | |
url 'http://swfmill.org/releases/swfmill-0.3.0.tar.gz' | |
homepage 'http://swfmill.org' | |
md5 'b7850211cf683aa7a1c62324b56e3216' | |
depends_on 'pkg-config' => :build | |
def patches; DATA; end | |
def install | |
system "./configure", "--prefix=#{prefix}" | |
system "make install" | |
end | |
end | |
__END__ | |
--- a/src/swft/readpng.h.orig 2012-02-02 16:13:43.000000000 -0800 | |
+++ b/src/swft/readpng.h 2012-02-02 16:12:39.000000000 -0800 | |
@@ -64,6 +64,7 @@ | |
# define Trace(x) ; | |
#endif | |
+#include <zlib.h> | |
#include <png.h> | |
typedef unsigned char uch; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment