2010-10-12 14:50:06 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Fox < Formula
|
2011-06-28 15:51:10 +00:00
|
|
|
url 'http://ftp.fox-toolkit.org/pub/fox-1.7.26.tar.gz'
|
2010-10-12 14:50:06 +00:00
|
|
|
homepage 'http://www.fox-toolkit.org/'
|
2011-06-28 15:51:10 +00:00
|
|
|
md5 'acaf8a1f33d02265b26a2b0c3fd06625'
|
2010-10-12 14:50:06 +00:00
|
|
|
|
|
|
|
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
|