ada33467f8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
19 lines
586 B
Ruby
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
|