aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/bogofilter.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/bogofilter.rb b/Library/Formula/bogofilter.rb
new file mode 100644
index 000000000..6dbcb0c5e
--- /dev/null
+++ b/Library/Formula/bogofilter.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Bogofilter < Formula
+ url 'http://sourceforge.net/projects/bogofilter/files/bogofilter-current/bogofilter-1.2.2/bogofilter-1.2.2.tar.bz2'
+ homepage 'http://bogofilter.sourceforge.net'
+ md5 '4bcabdf8c5e7efefcb508eda7e80eebc'
+
+ depends_on 'berkeley-db'
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+
+ system "make install"
+ end
+end