7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
15 lines
458 B
Ruby
15 lines
458 B
Ruby
require 'formula'
|
|
|
|
class Libevent <Formula
|
|
url "http://www.monkey.org/~provos/libevent-1.4.14b-stable.tar.gz"
|
|
homepage 'http://www.monkey.org/~provos/libevent/'
|
|
md5 'a00e037e4d3f9e4fe9893e8a2d27918c'
|
|
head 'git://levent.git.sourceforge.net/gitroot/levent/levent'
|
|
|
|
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
|