2012-08-10 15:25:37 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Remctl < Formula
|
|
|
|
homepage 'http://www.eyrie.org/~eagle/software/remctl/'
|
2014-08-29 00:14:36 +00:00
|
|
|
url 'http://archives.eyrie.org/software/kerberos/remctl-3.9.tar.gz'
|
|
|
|
sha1 '9fbd9c48e085f521ac68fde8336dce2b839a9054'
|
2012-08-10 15:25:37 +00:00
|
|
|
|
2012-08-28 15:30:00 +00:00
|
|
|
depends_on 'pcre'
|
2014-03-28 18:56:25 +00:00
|
|
|
depends_on 'libevent'
|
2012-08-28 15:30:00 +00:00
|
|
|
|
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
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-08-10 15:25:37 +00:00
|
|
|
system "#{bin}/remctl", "-v"
|
|
|
|
end
|
|
|
|
end
|