aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTom Taylor2009-09-30 17:34:16 +0100
committerMax Howell2009-09-30 19:03:06 +0100
commitc53e16afaa10171f6005872ffda7342e0dbb11d6 (patch)
tree94ae60ba6b6fd1b8c5c0433bd60425184fa36498 /Library/Formula
parentd2f3147754cb7f762a89bff22e0f307e8cd23bb1 (diff)
downloadhomebrew-c53e16afaa10171f6005872ffda7342e0dbb11d6.tar.bz2
Added xpdf, version 3.02 + security patch level 3.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xpdf.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/xpdf.rb b/Library/Formula/xpdf.rb
new file mode 100644
index 000000000..3163bee61
--- /dev/null
+++ b/Library/Formula/xpdf.rb
@@ -0,0 +1,19 @@
+require 'brewkit'
+
+class Xpdf <Formula
+ url 'ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02.tar.gz'
+ homepage 'http://www.foolabs.com/xpdf/'
+ md5 '599dc4cc65a07ee868cf92a667a913d2'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make"
+ system "make install"
+ end
+
+ def patches
+ # latest security patch
+ ["ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl3.patch"]
+ end
+
+end \ No newline at end of file