homebrew-core/Formula/augeas.rb
aaronlake 150c24710d augeas 0.10.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-01 08:32:54 -07:00

27 lines
693 B
Ruby

require 'formula'
class Augeas < Formula
homepage 'http://augeas.net'
url 'http://augeas.net/download/augeas-0.10.0.tar.gz'
md5 'fe1834e90a066c3208ac0214622c7352'
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