blob: cc649a96359a2cfc4d379e7e898e780e4e7884d5 (
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
  | 
require 'formula'
class Neon < Formula
  url 'http://www.webdav.org/neon/neon-0.29.6.tar.gz'
  md5 '591e0c82e6979e7e615211b386b8f6bc'
  homepage 'http://www.webdav.org/neon/'
  depends_on 'pkg-config' => :build
  keg_only :provided_by_osx,
            "Compiling newer versions of Subversion on 10.6 require this newer neon."
  def options
    [['--universal', 'Builds a universal binary.']]
  end
  def install
    ENV.universal_binary if ARGV.build_universal?
    system "./configure", "--prefix=#{prefix}",
                          "--disable-debug",
                          "--enable-shared",
                          "--disable-static",
                          "--with-ssl"
    system "make install"
  end
end
  |