aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorCharlie Sharpsteen2011-05-16 10:12:54 -0700
committerAdam Vandenberg2011-06-03 21:20:36 -0700
commit73761e9b45c2464afd7d808ee0b3ffe11879ec36 (patch)
tree4101750a563ef1ba0eff7f4e9429ffe7cf8810d7 /Library
parent2aeea9d13578838f2d5856e722485d0137ebf554 (diff)
downloadhomebrew-73761e9b45c2464afd7d808ee0b3ffe11879ec36.tar.bz2
libharu 2.2.1
libHaru is a cross-platform toolkit for writing PDF files (but not reading) written in ANSI C. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libharu.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/libharu.rb b/Library/Formula/libharu.rb
new file mode 100644
index 000000000..cacb3fb7d
--- /dev/null
+++ b/Library/Formula/libharu.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Libharu < Formula
+ homepage 'http://www.libharu.org'
+ url 'http://libharu.org/files/libharu-2.2.1.tar.bz2'
+ md5 '4febd7e677b1c5d54db59a608b84e79f'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ # ENV.x11 doesn't get picked up
+ "--with-png=/usr/X11"
+ system "make install"
+ end
+end