homebrew-core/Formula/libevent.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

13 lines
330 B
Ruby

require 'formula'
class Libevent <Formula
@version='1.4.12'
@url="http://www.monkey.org/~provos/libevent-#{@version}-stable.tar.gz"
@homepage='http://www.monkey.org/~provos/libevent/'
@md5='77b0d8b9885496871bb083165b35ba11'
def install
system "./configure --prefix='#{prefix}'"
system "make install"
end
end