hesiod 3.2.1 (new formula)

Closes #5702.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Eugene Lee 2016-10-08 23:47:49 -04:00 committed by Mike McQuaid
parent ffb23f5da1
commit 31419b0564

24
Formula/hesiod.rb Normal file
View file

@ -0,0 +1,24 @@
class Hesiod < Formula
desc "Library for the simple string lookup service built on top of DNS"
homepage "https://github.com/achernya/hesiod"
url "https://github.com/achernya/hesiod/archive/hesiod-3.2.1.tar.gz"
sha256 "813ccb091ad15d516a323bb8c7693597eec2ef616f36b73a8db78ff0b856ad63"
depends_on "automake" => :build
depends_on "autoconf" => :build
depends_on "libtool" => :build
depends_on "libidn"
def install
system "autoreconf", "-fvi"
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/hesinfo", "sipbtest", "passwd"
system "#{bin}/hesinfo", "sipbtest", "filsys"
end
end