61b2307139
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.
13 lines
330 B
Ruby
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
|