2013-11-17 11:35:59 +00:00
|
|
|
class Amtterm < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Serial-over-LAN (sol) client for Intel AMT"
|
2015-07-27 23:25:12 +00:00
|
|
|
homepage "https://www.kraxel.org/blog/linux/amtterm/"
|
|
|
|
url "https://www.kraxel.org/releases/amtterm/amtterm-1.4.tar.gz"
|
2015-07-27 14:24:28 +00:00
|
|
|
sha256 "e10af2b02dbf66fb24abd292b9ddc6d86b31eea09887da5cb0eb8fb2ee900e21"
|
2015-01-05 12:41:17 +00:00
|
|
|
|
|
|
|
head "git://git.kraxel.org/amtterm"
|
2013-11-17 11:35:59 +00:00
|
|
|
|
2015-07-27 15:50:38 +00:00
|
|
|
bottle do
|
2016-02-23 11:36:53 +00:00
|
|
|
cellar :any_skip_relocation
|
2016-09-26 13:07:42 +00:00
|
|
|
sha256 "9f96957f1275cf1884edde7f30796c7e0fc757bf516be509918fc293fa8fa034" => :sierra
|
2016-02-23 11:36:53 +00:00
|
|
|
sha256 "7cea74bd49ac89a3a6eb3387749bccb08f263f837943bac72bde30f10c1320df" => :el_capitan
|
2015-07-27 15:50:38 +00:00
|
|
|
sha256 "39d3fe96eceb64eb9ac76e114a3b16ee44edb461117d4c5ec05aac875f18f4c2" => :yosemite
|
|
|
|
sha256 "35a6a905a27ca56c505aeea83538d874c1d184be55c68dae67842c6588960b3c" => :mavericks
|
|
|
|
sha256 "38c350c1295d79e7c9cb6c78e7ec788139c9228f0130ffe2804971b0c8419799" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2014-07-06 13:06:20 +00:00
|
|
|
resource "SOAP::Lite" do
|
2015-07-27 14:24:28 +00:00
|
|
|
url "https://cpan.metacpan.org/authors/id/P/PH/PHRED/SOAP-Lite-1.11.tar.gz"
|
|
|
|
sha256 "e4dee589ef7d66314b3dc956569b2541e0b917e834974e078c256571b6011efe"
|
2014-07-06 13:06:20 +00:00
|
|
|
end
|
|
|
|
|
2013-11-17 11:35:59 +00:00
|
|
|
def install
|
2014-07-06 13:06:20 +00:00
|
|
|
ENV.prepend_create_path "PERL5LIB", libexec+"lib/perl5"
|
|
|
|
|
|
|
|
resource("SOAP::Lite").stage do
|
|
|
|
system "perl", "Makefile.PL", "INSTALL_BASE=#{libexec}"
|
|
|
|
system "make"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
2015-01-05 12:41:17 +00:00
|
|
|
system "make", "prefix=#{prefix}", "install"
|
2016-09-24 15:45:48 +00:00
|
|
|
bin.env_script_all_files(libexec+"bin", :PERL5LIB => ENV["PERL5LIB"])
|
2013-11-17 11:35:59 +00:00
|
|
|
end
|
2015-01-05 12:41:17 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/amtterm", "-h"
|
|
|
|
end
|
2013-11-17 11:35:59 +00:00
|
|
|
end
|