homebrew-core/Formula/remctl.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

20 lines
514 B
Ruby

require 'formula'
class Remctl < Formula
homepage 'http://www.eyrie.org/~eagle/software/remctl/'
url 'http://archives.eyrie.org/software/ARCHIVE/remctl/remctl-3.2.tar.gz'
sha1 'f49c287c29b6b289995b8907edc6ecba4c298c99'
depends_on 'pcre'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-pcre=#{HOMEBREW_PREFIX}"
system "make install"
end
test do
system "#{bin}/remctl", "-v"
end
end