homebrew-core/Formula/libevent.rb

18 lines
593 B
Ruby
Raw Normal View History

require 'formula'
2009-08-30 00:07:52 +00:00
2011-03-10 05:11:03 +00:00
class Libevent < Formula
2011-09-04 00:28:07 +00:00
url "http://downloads.sourceforge.net/project/levent/libevent/libevent-2.0/libevent-2.0.14-stable.tar.gz"
homepage 'http://www.monkey.org/~provos/libevent/'
2011-09-04 00:28:07 +00:00
md5 'cac0f379da35d3b98f83ac16fcfe1df4'
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
ENV.j1 # Needed for Mac Pro compilation
system "./autogen.sh" if ARGV.build_head?
system "./configure", "--prefix=#{prefix}"
2009-08-30 00:07:52 +00:00
system "make install"
end
end