blob: 5d74f05764cc71d20cd80a9fe0baf662dd039f12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
require 'formula'
class Libevent < Formula
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/'
md5 'cac0f379da35d3b98f83ac16fcfe1df4'
head 'git://levent.git.sourceforge.net/gitroot/levent/levent'
fails_with_llvm "Undefined symbol '_current_base' reported during linking.", :build => 2326
def install
ENV.j1 # Needed for Mac Pro compilation
system "./autogen.sh" if ARGV.build_head?
system "./configure", "--prefix=#{prefix}"
system "make install"
end
end
|