00bec8ec06
libdap is a C++ library and command line tool for interacting with remote databases using the Network Data Access Protocol. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
23 lines
633 B
Ruby
23 lines
633 B
Ruby
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
|