aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/neon.rb
blob: b41794bb70b37de14b0b28cd4bf4ad43bd012608 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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'

  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