aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libdap.rb
blob: 0e2043fd7c1c0a49e85bde79d27ed6d43951f569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'formula'

class Libdap < Formula
  homepage 'http://www.opendap.org'
  url 'http://www.opendap.org/pub/source/libdap-3.11.0.tar.gz'
  md5 '793755cc9ba8ff34f63e6185709b8e00'

  depends_on 'pkg-config' => :build

  def install
    # NOTE:
    # To future maintainers: if you ever want to build this library as a
    # universal binary, see William Kyngesburye's notes:
    #     http://www.kyngchaos.com/macosx/build/dap
    system "./configure",
           "--disable-debug",
           "--disable-dependency-tracking",
           "--prefix=#{prefix}",
           "--with-included-regex"

    system "make install"
  end
end