2010-09-22 08:49:18 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class SourceHighlight < Formula
|
2010-09-22 08:49:18 +00:00
|
|
|
homepage 'http://www.gnu.org/software/src-highlite/'
|
2012-07-02 18:42:35 +00:00
|
|
|
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'
|
2010-09-22 08:49:18 +00:00
|
|
|
|
|
|
|
depends_on 'boost'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2010-12-27 04:39:39 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-boost=#{HOMEBREW_PREFIX}"
|
2010-09-22 08:49:18 +00:00
|
|
|
system "make install"
|
2011-11-16 21:45:39 +00:00
|
|
|
|
2012-07-02 18:42:35 +00:00
|
|
|
(prefix+'etc/bash_completion.d').install 'completion/source-highlight'
|
2010-09-22 08:49:18 +00:00
|
|
|
end
|
|
|
|
end
|