7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
26 lines
635 B
Ruby
26 lines
635 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/'
|
|
|
|
depends_on 'pkg-config'
|
|
|
|
keg_only :provided_by_osx
|
|
|
|
def options
|
|
[['--universal', 'Builds a universal 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
|