28 lines
643 B
Ruby
28 lines
643 B
Ruby
require 'formula'
|
|
|
|
class Neon <Formula
|
|
url 'http://www.webdav.org/neon/neon-0.29.3.tar.gz'
|
|
md5 'ba1015b59c112d44d7797b62fe7bee51'
|
|
homepage 'http://www.webdav.org/neon/'
|
|
|
|
def keg_only?
|
|
:provided_by_osx
|
|
end
|
|
|
|
def options
|
|
[
|
|
['--universal', 'Build as a Universal Intel binary.']
|
|
]
|
|
end
|
|
|
|
def install
|
|
ENV.universal_binary if ARGV.include? '--universal'
|
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
"--disable-debug",
|
|
"--enable-shared",
|
|
"--disable-static",
|
|
"--with-ssl"
|
|
system "make install"
|
|
end
|
|
end
|