399f3bac37
Also make it build a dylib, not a static library. This is because the default linker behaviour is to run through the search path twice. First time looking for dylibs and second time for .a files. So duplicate formula must build a dylib. The other option is the -search_paths_first link flag. I don't like this though as every flag we bung in there adds more possible compile issues to projects that depend on such flags being off.
21 lines
556 B
Ruby
21 lines
556 B
Ruby
require 'formula'
|
|
|
|
class Neon <Formula
|
|
@url='http://www.webdav.org/neon/neon-0.29.0.tar.gz'
|
|
@homepage='http://www.webdav.org/neon/'
|
|
@md5='18a3764b70f9317f8b61509fd90d9e7a'
|
|
|
|
def keg_only?
|
|
:provided_by_osx
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}",
|
|
"--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--enable-shared",
|
|
"--disable-static",
|
|
"--with-ssl"
|
|
system "make install"
|
|
end
|
|
end
|