aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDavid Höppner2010-03-16 21:02:34 +0100
committerDavid Höppner2010-03-16 21:02:34 +0100
commit2b4040144df68cbc5d04672595625ae9d8ffc23a (patch)
tree1c057c2cf44377d497ad7c4f911079abf31092f9 /Library
parent60147b09c9e1b82675bd342d8e00fa8f11b38ff0 (diff)
downloadhomebrew-2b4040144df68cbc5d04672595625ae9d8ffc23a.tar.bz2
libevent: allow building from git head
Diffstat (limited to 'Library')
-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"