homebrew-core/Formula/ftgl.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes .

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

23 lines
921 B
Ruby

class Ftgl < Formula
desc "Freetype / OpenGL bridge"
homepage "http://sourceforge.net/projects/ftgl/"
url "https://downloads.sourceforge.net/project/ftgl/FTGL%20Source/2.1.3~rc5/ftgl-2.1.3-rc5.tar.gz"
sha256 "5458d62122454869572d39f8aa85745fc05d5518001bcefa63bd6cbb8d26565b"
depends_on "freetype"
def install
# If doxygen is installed, the docs may still fail to build.
# So we disable building docs.
inreplace "configure", "set dummy doxygen;", "set dummy no_doxygen;"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-freetypetest",
# Skip building the example program by failing to find GLUT (MacPorts)
"--with-glut-inc=/dev/null",
"--with-glut-lib=/dev/null"
system "make", "install"
end
end