blob: ac1f754482798fb918955065801b99f970106234 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
require 'formula'
class RegexOpt < Formula
homepage 'http://bisqwit.iki.fi/source/regexopt.html'
url 'http://bisqwit.iki.fi/src/arch/regex-opt-1.2.3.tar.gz'
sha1 'a3b58af5a173a9b77ede7d0cb01831ae7a315b38'
def install
system "make", "CC=#{ENV.cc}", "CXX=#{ENV.cxx}"
bin.install 'regex-opt'
end
def test
system "#{bin}/regex-opt"
end
end
|