homebrew-core/Formula/hilite.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

16 lines
414 B
Ruby

require 'formula'
class Hilite < Formula
homepage 'http://sourceforge.net/projects/hilite/'
url 'https://downloads.sourceforge.net/project/hilite/hilite/1.5/hilite.c'
sha1 '96d551f1aae966d901e12076b59efd3e350e4192'
def install
system "#{ENV.cc} #{ENV.cflags} hilite.c -o hilite"
bin.install 'hilite'
end
test do
system "#{bin}/hilite", "bash", "-c", "echo 'stderr in red' >&2"
end
end