2011-02-01 03:00:33 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Nylon < Formula
|
2011-02-01 03:00:33 +00:00
|
|
|
url 'http://monkey.org/~marius/nylon/nylon-1.21.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '96f82a785ffe92fd6c1eebb69787327eecc90569'
|
2011-02-01 03:00:33 +00:00
|
|
|
homepage 'http://monkey.org/~marius/pages/?page=nylon'
|
|
|
|
|
|
|
|
depends_on 'libevent'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}",
|
|
|
|
"--with-libevent=#{HOMEBREW_PREFIX}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|