aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBen Swift2013-08-05 10:36:01 +1000
committerAdam Vandenberg2013-10-27 09:56:08 -0700
commite0018a62a3fcb88880c87888b25867472d0bdc36 (patch)
tree9da5554b1122c735fe093b974c37cd27460abbc5 /Library/Formula
parent35e6f91359fcbd8c21ab858f640bdf0474b79e33 (diff)
downloadhomebrew-e0018a62a3fcb88880c87888b25867472d0bdc36.tar.bz2
libdrawtext 0.1
Closes #21653. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libdrawtext.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/libdrawtext.rb b/Library/Formula/libdrawtext.rb
new file mode 100644
index 000000000..30955e210
--- /dev/null
+++ b/Library/Formula/libdrawtext.rb
@@ -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