homebrew-core/Formula/source-highlight.rb
Geoff Reedy bf1de650c2 source-highlight: specify boost prefix
Fixes build of source-highlight when brew isn't installed to /usr/local

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-12-27 08:46:18 -08:00

16 lines
460 B
Ruby

require 'formula'
class SourceHighlight <Formula
url 'http://ftp.gnu.org/gnu/src-highlite/source-highlight-3.1.4.tar.gz'
homepage 'http://www.gnu.org/software/src-highlite/'
md5 'becf8292b84ece6b532b0f0c92b530ee'
depends_on 'boost'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-boost=#{HOMEBREW_PREFIX}"
system "make install"
end
end