homebrew-core/Formula/source-highlight.rb
Libor Wagner ada33467f8 source-highlight: install bash completion
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-11-17 20:07:56 -08:00

19 lines
586 B
Ruby

require 'formula'
class SourceHighlight < Formula
url 'http://ftpmirror.gnu.org/src-highlite/source-highlight-3.1.5.tar.gz'
homepage 'http://www.gnu.org/software/src-highlite/'
md5 '3117ee47c1c6b0668667e20d2aca3757'
depends_on 'boost'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-boost=#{HOMEBREW_PREFIX}"
system "make install"
bash_completion_d = prefix + 'etc/bash_completion.d'
bash_completion_d.install 'source-highlight-bash-completion'
end
end