aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libevent.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/libevent.rb b/Library/Formula/libevent.rb
index 68edace0e..89918dcbb 100644
--- a/Library/Formula/libevent.rb
+++ b/Library/Formula/libevent.rb
@@ -5,8 +5,11 @@ class Libevent <Formula
url "http://www.monkey.org/~provos/libevent-#{@version}-stable.tar.gz"
homepage 'http://www.monkey.org/~provos/libevent/'
md5 '0b3ea18c634072d12b3c1ee734263664'
+ head 'git://levent.git.sourceforge.net/gitroot/levent/levent'
def install
+ system "./autogen.sh" if ARGV.include? '--HEAD'
+
ENV.j1 # Needed for Mac Pro compilation
system "./configure", "--prefix=#{prefix}"
system "make install"