libdrawtext 0.1

Closes Homebrew/homebrew#21653.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Ben Swift 2013-08-05 10:36:01 +10:00 committed by Adam Vandenberg
parent 83f1134e48
commit e0237dfa3f

17
Formula/libdrawtext.rb Normal file
View file

@ -0,0 +1,17 @@
require 'formula'
class Libdrawtext < Formula
homepage 'http://nuclear.mutantstargoat.com/sw/libdrawtext/'
url 'http://nuclear.mutantstargoat.com/sw/libdrawtext/libdrawtext-0.1.tar.gz'
sha1 '0d7166bbb1479553abf82b71a56ec565d861fe81'
depends_on 'pkg-config' => :build
depends_on :freetype
depends_on 'glew'
def install
system "./configure", "--disable-dbg", "--enable-opt",
"--disable-dependency-tracking", "--prefix=#{prefix}"
system "make", "install"
end
end