2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-08-30 00:07:52 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libevent < Formula
|
2011-01-20 10:53:39 +00:00
|
|
|
url "http://downloads.sourceforge.net/project/levent/libevent/libevent-2.0/libevent-2.0.10-stable.tar.gz"
|
2009-12-01 19:37:57 +00:00
|
|
|
homepage 'http://www.monkey.org/~provos/libevent/'
|
2011-01-20 10:53:39 +00:00
|
|
|
md5 'a37401d26cbbf28185211d582741a3d4'
|
2010-03-16 20:02:34 +00:00
|
|
|
head 'git://levent.git.sourceforge.net/gitroot/levent/levent'
|
2009-08-30 00:07:52 +00:00
|
|
|
|
2011-03-21 21:24:22 +00:00
|
|
|
fails_with_llvm "Undefined symbol '_current_base' reported during linking.", :build => 2326
|
2010-09-27 20:08:08 +00:00
|
|
|
|
2011-03-21 21:24:22 +00:00
|
|
|
def install
|
2009-12-01 19:37:57 +00:00
|
|
|
ENV.j1 # Needed for Mac Pro compilation
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./autogen.sh" if ARGV.build_head?
|
2009-12-01 19:37:57 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2009-08-30 00:07:52 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|