homebrew-core/Formula/libdrawtext.rb
2016-04-09 19:58:10 +08:00

25 lines
995 B
Ruby

class Libdrawtext < Formula
desc "Library for anti-aliased text rendering in OpenGL"
homepage "http://nuclear.mutantstargoat.com/sw/libdrawtext/"
url "http://nuclear.mutantstargoat.com/sw/libdrawtext/libdrawtext-0.2.1.tar.gz"
sha256 "d283d4393381388f3f6dc91c9c385fcc49361aa89acc368c32db69393ffdde21"
head "https://github.com/jtsiomb/libdrawtext.git"
revision 1
bottle do
cellar :any
sha256 "ce25817d27fc1b849bf202b802f79bdf478c9c63931344b79d43b7b7f87b0b48" => :el_capitan
sha256 "11ba1625c6232d76e97771f49923bd6a02c5558ac4887e9a902ff27ef09af16b" => :yosemite
sha256 "b157471cda3a580f58f0286afc1feded4fb0265dcaaa46f794f9e0d5bb272b7f" => :mavericks
sha256 "b2ce6cfecd9efc0fcf38b098de0080e3b42ef7f63889f89f69cc8dc221e06688" => :mountain_lion
end
depends_on "pkg-config" => :build
depends_on "freetype"
depends_on "glew"
def install
system "./configure", "--disable-dbg", "--enable-opt", "--prefix=#{prefix}"
system "make", "install"
end
end