diff options
| author | Lyle Johnson | 2010-10-12 09:50:06 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2010-11-06 22:04:45 -0700 |
| commit | ff0b5da66bfe8059ba77ef01ae9bf6caa7d6f94c (patch) | |
| tree | 9da3d55ad971f880c4f6f6691e8e252006b45f56 /Library | |
| parent | a13b8f5b50aa527fff68f77fd44ed91e6ca526e3 (diff) | |
| download | homebrew-ff0b5da66bfe8059ba77ef01ae9bf6caa7d6f94c.tar.bz2 | |
Added formula for fox-1.7.23
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/fox.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/fox.rb b/Library/Formula/fox.rb new file mode 100644 index 000000000..1af686c42 --- /dev/null +++ b/Library/Formula/fox.rb @@ -0,0 +1,21 @@ +require 'formula' + +class Fox <Formula + url 'http://www.fox-toolkit.org/ftp/fox-1.7.23.tar.gz' + homepage 'http://www.fox-toolkit.org/' + md5 'ee8430d6480d3289d54b847f47405670' + + def install + ENV.x11 + + # Yep, won't find freetype unless this is all set. + ENV.append "CFLAGS", "-I/usr/X11/include/freetype2" + ENV.append "CPPFLAGS", "-I/usr/X11/include/freetype2" + ENV.append "CXXFLAGS", "-I/usr/X11/include/freetype2" + + system "./configure", "--enable-release", + "--prefix=#{prefix}", + "--with-x", "--with-opengl" + system "make install" + end +end |
