homebrew-core/Formula/libdap.rb

24 lines
633 B
Ruby

require 'formula'
class Libdap < Formula
homepage 'http://www.opendap.org'
url 'http://www.opendap.org/pub/source/libdap-3.11.1.tar.gz'
md5 '985b5b4f86394eea45a467c2100e9ec5'
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