2012-08-10 15:25:37 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Remctl < Formula
|
|
|
|
homepage 'http://www.eyrie.org/~eagle/software/remctl/'
|
2013-07-23 21:19:55 +00:00
|
|
|
url 'http://archives.eyrie.org/software/ARCHIVE/remctl/remctl-3.2.tar.gz'
|
2012-08-10 15:25:37 +00:00
|
|
|
sha1 'f49c287c29b6b289995b8907edc6ecba4c298c99'
|
|
|
|
|
2012-08-28 15:30:00 +00:00
|
|
|
depends_on 'pcre'
|
|
|
|
|
2012-08-10 15:25:37 +00:00
|
|
|
def install
|
2012-08-28 15:30:00 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-pcre=#{HOMEBREW_PREFIX}"
|
2012-08-10 15:25:37 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
|
|
|
system "#{bin}/remctl", "-v"
|
|
|
|
end
|
|
|
|
end
|