homebrew-core/Formula/regex-opt.rb
2013-03-26 00:55:18 -05:00

16 lines
366 B
Ruby

require 'formula'
class RegexOpt < Formula
homepage 'http://bisqwit.iki.fi/source/regexopt.html'
url 'http://bisqwit.iki.fi/src/arch/regex-opt-1.2.2.tar.bz2'
sha1 '18481500e8fed8ecf94f9738104594ef5a658456'
def install
system "make", "CC=#{ENV.cc}", "CXX=#{ENV.cxx}"
bin.install 'regex-opt'
end
def test
system "#{bin}/regex-opt"
end
end