homebrew-core/Formula/augeas.rb
Adam Vandenberg 6910f8635f Revert "redact augeas"
This reverts commit 826f794b69d6fa748c85e385954cbc866e2d6e9c.
2014-04-14 19:48:23 -07:00

29 lines
760 B
Ruby

require 'formula'
class Augeas < Formula
homepage 'http://augeas.net'
url 'http://download.augeas.net/augeas-1.0.0.tar.gz'
sha1 '5d0bc5738cc77ad4731f9406fb8dceb08826bba9'
depends_on 'pkg-config' => :build
depends_on 'libxml2'
depends_on 'readline'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
# libfa example program doesn't compile cleanly on OSX, so skip it
inreplace 'Makefile' do |s|
s.change_make_var! "SUBDIRS", "gnulib/lib src gnulib/tests tests man doc"
end
system "make install"
end
def caveats; <<-EOS.undent
Lenses have been installed to:
#{HOMEBREW_PREFIX}/share/augeas/lenses/dist
EOS
end
end