homebrew-core/Formula/source-highlight.rb

21 lines
663 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class SourceHighlight < Formula
url 'http://ftpmirror.gnu.org/src-highlite/source-highlight-3.1.5.tar.gz'
mirror 'http://ftp.gnu.org/gnu/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