homebrew-core/Formula/source-highlight.rb
Jack Nagel d1d29081cd source-highlight 3.1.7
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-02 13:42:35 -05:00

19 lines
625 B
Ruby

require 'formula'
class SourceHighlight < Formula
homepage 'http://www.gnu.org/software/src-highlite/'
url 'http://ftpmirror.gnu.org/src-highlite/source-highlight-3.1.7.tar.gz'
mirror 'http://ftp.gnu.org/gnu/src-highlite/source-highlight-3.1.7.tar.gz'
sha1 '71c637548be71afc3f895b0d8ada1a72a8dab4a0'
depends_on 'boost'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-boost=#{HOMEBREW_PREFIX}"
system "make install"
(prefix+'etc/bash_completion.d').install 'completion/source-highlight'
end
end